Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2018-06-27 21:46:54 -0400
committerRyan D. Brooks2018-07-03 14:40:01 -0400
commit316ca74a2d1f696101e487e1ea754352512be73c (patch)
tree12aeca853ef58f4a45a12ab1080f4e36799dbdda
parent8300d3592d9ae7201d5029bc8306191baba881a5 (diff)
downloadorg.eclipse.osee-316ca74a2d1f696101e487e1ea754352512be73c.tar.gz
org.eclipse.osee-316ca74a2d1f696101e487e1ea754352512be73c.tar.xz
org.eclipse.osee-316ca74a2d1f696101e487e1ea754352512be73c.zip
refactor: Remove unused classes from jdk.core
-rw-r--r--plugins/org.eclipse.osee.framework.database.init/META-INF/MANIFEST.MF1
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/META-INF/MANIFEST.MF10
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/collection/tree/Tree.java29
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/collection/tree/TreeNode.java60
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/directory/DirectoryPerson.java426
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/IState.java24
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/StateController.java49
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/WaitState.java43
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/RuleRecord.java9
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/ReplaceRcsLog.java102
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/RpcrSignalChanges.java99
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/SignalChanges.java102
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/DoublePoint.java81
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/FixedSizePriorityQueue.java56
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HasPriority.java19
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionHeavy.java100
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionPlus.java317
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionPlusMap.java74
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/IInputListener.java31
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/IPlusProvider.java25
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/InputManager.java148
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/JaxRsUuidNamed.java49
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/SimpleEnum.java41
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/CmdLineArgs.java43
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Collections.java11
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Filter.java18
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/IAbbreviated.java20
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Objects.java34
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/PriorityComparator.java25
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/RegExpressLib.java40
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Sets.java52
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/SingletonApplicationInstance.java50
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/ExtensionFilter.java39
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/LnkWriter.java3394
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/Zip.java118
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/streams/StreamCatcher.java65
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XMLStreamWriterPrettyPrint.java226
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlOutputTransform.java92
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTransformAsProcess.java185
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTransformServer.java203
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTranslation.java61
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Cell.java30
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Row.java30
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Style.java30
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Table.java30
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/WorkBook.java30
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/WorkSheet.java30
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/GenericParser.java167
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/IProcessingInstructionsListener.java19
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/IXmlNodeListener.java21
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/XmlNode.java64
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/XmlTreeUtilities.java120
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/ExpressionValidator.java48
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/FieldValidator.java53
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/IValidator.java22
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/RequiredStringValidator.java30
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/RequiredValidator.java24
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/Validator.java163
-rw-r--r--plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/sql/SqlHandler.java4
59 files changed, 6 insertions, 7480 deletions
diff --git a/plugins/org.eclipse.osee.framework.database.init/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.framework.database.init/META-INF/MANIFEST.MF
index d233e2165c..ca25758d4f 100644
--- a/plugins/org.eclipse.osee.framework.database.init/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.osee.framework.database.init/META-INF/MANIFEST.MF
@@ -21,7 +21,6 @@ Import-Package: org.apache.commons.lang;version="2.4.0",
org.eclipse.osee.framework.core.operation,
org.eclipse.osee.framework.core.services,
org.eclipse.osee.framework.core.util,
- org.eclipse.osee.framework.jdk.core.persistence,
org.eclipse.osee.framework.jdk.core.text.change,
org.eclipse.osee.framework.jdk.core.type,
org.eclipse.osee.framework.jdk.core.util,
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.framework.jdk.core/META-INF/MANIFEST.MF
index fbafedc88f..f053a2b4c8 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.osee.framework.jdk.core/META-INF/MANIFEST.MF
@@ -4,11 +4,8 @@ Bundle-Name: OSEE JDK Core Plug-in (Incubation)
Bundle-SymbolicName: org.eclipse.osee.framework.jdk.core
Bundle-Version: 0.26.0.qualifier
Bundle-Vendor: Eclipse Open System Engineering Environment
-Export-Package: org.eclipse.osee.framework.jdk.core.collection.tree,
- org.eclipse.osee.framework.jdk.core.directory,
- org.eclipse.osee.framework.jdk.core.persistence,
+Export-Package: org.eclipse.osee.framework.jdk.core.persistence,
org.eclipse.osee.framework.jdk.core.reportdata,
- org.eclipse.osee.framework.jdk.core.stateMachine,
org.eclipse.osee.framework.jdk.core.text,
org.eclipse.osee.framework.jdk.core.text.change,
org.eclipse.osee.framework.jdk.core.text.rules,
@@ -23,10 +20,7 @@ Export-Package: org.eclipse.osee.framework.jdk.core.collection.tree,
org.eclipse.osee.framework.jdk.core.util.network,
org.eclipse.osee.framework.jdk.core.util.time,
org.eclipse.osee.framework.jdk.core.util.windows,
- org.eclipse.osee.framework.jdk.core.util.xml,
- org.eclipse.osee.framework.jdk.core.util.xml.excel,
- org.eclipse.osee.framework.jdk.core.util.xml.parser,
- org.eclipse.osee.framework.jdk.core.validate
+ org.eclipse.osee.framework.jdk.core.util.xml
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Import-Package: com.google.common.collect,
javax.ws.rs.core,
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/collection/tree/Tree.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/collection/tree/Tree.java
deleted file mode 100644
index da0715a54b..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/collection/tree/Tree.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.collection.tree;
-
-public class Tree<treeType> {
-
- private final TreeNode<treeType> root;
-
- public Tree() {
- this.root = new TreeNode<>();
- }
-
- public Tree(treeType self) {
- this.root = new TreeNode<>(self);
- }
-
- public TreeNode<treeType> getRoot() {
- return root;
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/collection/tree/TreeNode.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/collection/tree/TreeNode.java
deleted file mode 100644
index 18ea1351b5..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/collection/tree/TreeNode.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.collection.tree;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-
-public class TreeNode<treeType> {
-
- private treeType myself;
- private TreeNode<treeType> parent;
- private List<TreeNode<treeType>> children;
-
- protected TreeNode(TreeNode<treeType> parent, treeType myself) {
- this.parent = parent;
- this.myself = myself;
- this.children = new ArrayList<>();
- }
-
- public TreeNode(treeType myself) {
- this(null, myself);
- }
-
- public TreeNode() {
- this(null);
- }
-
- public TreeNode<treeType> getParent() {
- return parent;
- }
-
- public treeType getSelf() {
- return myself;
- }
-
- public List<TreeNode<treeType>> getChildren() {
- return children;
- }
-
- public TreeNode<treeType> addChild(treeType child) {
- TreeNode<treeType> newchild = new TreeNode<>(this, child);
- this.children.add(newchild);
- return newchild;
- }
-
- public void addChildren(Collection<treeType> children) {
- for (treeType child : children) {
- this.addChild(child);
- }
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/directory/DirectoryPerson.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/directory/DirectoryPerson.java
deleted file mode 100644
index 8548854661..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/directory/DirectoryPerson.java
+++ /dev/null
@@ -1,426 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.directory;
-
-import java.io.Serializable;
-import java.util.ArrayList;
-
-/**
- * @author Jeff C. Phillips
- */
-public class DirectoryPerson implements Comparable<Object>, Serializable {
-
- private static final long serialVersionUID = -2333305323300083640L;
- private ArrayList<Integer> policies = null;
- private int bemsid;
- private int bluesId;
- private String building;
- private String city;
- private String country;
- private String department;
- private String departmentName;
- private String email;
- private String externalCompany;
- private String fullName;
- private String hRDeptDesc;
- private String hRDeptNumber;
- private String mailCode;
- private String mailStop;
- private String manager;
- private String personType;
- private String phone;
- private String searchName;
- private String sponsor;
- private String state;
- private String title;
- private String uSPersonStatus;
- private boolean hasPolicy = false;
-
- public DirectoryPerson() {
- policies = new ArrayList<>();
- bemsid = -1;
- bluesId = -1;
- building = "";
- city = "";
- country = "";
- department = "";
- departmentName = "";
- email = "";
- externalCompany = "";
- fullName = "";
- hRDeptDesc = "";
- hRDeptNumber = "";
- mailCode = "";
- mailStop = "";
- manager = "";
- personType = "";
- phone = "";
- searchName = "";
- sponsor = "";
- state = "";
- title = "";
- uSPersonStatus = "";
- }
-
- /**
- * @return Returns the fullName.
- */
- public String getFullName() {
- return fullName;
- }
-
- /**
- * @param fullName The fullName to set.
- */
- public void setFullName(String fullName) {
- this.fullName = fullName;
- }
-
- /**
- * @return Returns the bems.
- */
- public int getBemsid() {
- return bemsid;
- }
-
- /**
- * @param bems The bems to set.
- */
- public void setBemsid(int bems) {
- this.bemsid = bems;
- }
-
- /**
- * @return Returns the bluesId.
- */
- public int getBluesId() {
- return bluesId;
- }
-
- /**
- * @param bluesId The bluesId to set.
- */
- public void setBluesId(int bluesId) {
- this.bluesId = bluesId;
- }
-
- /**
- * @return Returns the building.
- */
- public String getBuilding() {
- return building;
- }
-
- /**
- * @param building The building to set.
- */
- public void setBuilding(String building) {
- this.building = building;
- }
-
- /**
- * @return Returns the city.
- */
- public String getCity() {
- return city;
- }
-
- /**
- * @param city The city to set.
- */
- public void setCity(String city) {
- this.city = city;
- }
-
- /**
- * @return Returns the country.
- */
- public String getCountry() {
- return country;
- }
-
- /**
- * @param country The country to set.
- */
- public void setCountry(String country) {
- this.country = country;
- }
-
- /**
- * @return Returns the department.
- */
- public String getDepartment() {
- return department;
- }
-
- /**
- * @param department The department to set.
- */
- public void setDepartment(String department) {
- this.department = department;
- }
-
- /**
- * @return Returns the departmentName.
- */
- public String getDepartmentName() {
- return departmentName;
- }
-
- /**
- * @param departmentName The departmentName to set.
- */
- public void setDepartmentName(String departmentName) {
- this.departmentName = departmentName;
- }
-
- /**
- * @return Returns the email.
- */
- public String getEmail() {
- return email;
- }
-
- /**
- * @param email The email to set.
- */
- public void setEmail(String email) {
- this.email = email;
- }
-
- /**
- * @return Returns the externalCompany.
- */
- public String getExternalCompany() {
- return externalCompany;
- }
-
- /**
- * @param externalCompany The externalCompany to set.
- */
- public void setExternalCompany(String externalCompany) {
- this.externalCompany = externalCompany;
- }
-
- /**
- * @return Returns the hRDeptDesc.
- */
- public String getHRDeptDesc() {
- return hRDeptDesc;
- }
-
- /**
- * @param deptDesc The hRDeptDesc to set.
- */
- public void setHRDeptDesc(String deptDesc) {
- hRDeptDesc = deptDesc;
- }
-
- /**
- * @return Returns the hRDeptNumber.
- */
- public String getHRDeptNumber() {
- return hRDeptNumber;
- }
-
- /**
- * @param deptNumber The hRDeptNumber to set.
- */
- public void setHRDeptNumber(String deptNumber) {
- hRDeptNumber = deptNumber;
- }
-
- /**
- * @return Returns the mailCode.
- */
- public String getMailCode() {
- return mailCode;
- }
-
- /**
- * @param mailCode The mailCode to set.
- */
- public void setMailCode(String mailCode) {
- this.mailCode = mailCode;
- }
-
- /**
- * @return Returns the mailStop.
- */
- public String getMailStop() {
- return mailStop;
- }
-
- /**
- * @param mailStop The mailStop to set.
- */
- public void setMailStop(String mailStop) {
- this.mailStop = mailStop;
- }
-
- /**
- * @return Returns the manager.
- */
- public String getManager() {
- return manager;
- }
-
- /**
- * @param manager The manager to set.
- */
- public void setManager(String manager) {
- this.manager = manager;
- }
-
- /**
- * @return Returns the personType.
- */
- public String getPersonType() {
- return personType;
- }
-
- /**
- * @param personType The personType to set.
- */
- public void setPersonType(String personType) {
- this.personType = personType;
- }
-
- /**
- * @return Returns the phone.
- */
- public String getPhone() {
- return phone;
- }
-
- /**
- * @param phone The phone to set.
- */
- public void setPhone(String phone) {
- this.phone = phone;
- }
-
- /**
- * @return Returns the searchName.
- */
- public String getSearchName() {
- return searchName;
- }
-
- /**
- * @param searchName The searchName to set.
- */
- public void setSearchName(String searchName) {
- this.searchName = searchName;
- }
-
- /**
- * @return Returns the sponsor.
- */
- public String getSponsor() {
- return sponsor;
- }
-
- /**
- * @param sponsor The sponsor to set.
- */
- public void setSponsor(String sponsor) {
- this.sponsor = sponsor;
- }
-
- /**
- * @return Returns the state.
- */
- public String getState() {
- return state;
- }
-
- /**
- * @param state The state to set.
- */
- public void setState(String state) {
- this.state = state;
- }
-
- /**
- * @return Returns the title.
- */
- public String getTitle() {
- return title;
- }
-
- /**
- * @param title The title to set.
- */
- public void setTitle(String title) {
- this.title = title;
- }
-
- /**
- * @return Returns the uSPersonStatus.
- */
- public String getUSPersonStatus() {
- return uSPersonStatus;
- }
-
- /**
- * @param personStatus The uSPersonStatus to set.
- */
- public void setUSPersonStatus(String personStatus) {
- uSPersonStatus = personStatus;
- }
-
- @Override
- public int compareTo(Object person) {
- return fullName.compareTo(((DirectoryPerson) person).fullName);
- }
-
- @Override
- public boolean equals(Object obj) {
- if (!(obj instanceof DirectoryPerson)) {
- return false;
- }
- DirectoryPerson dp = (DirectoryPerson) obj;
- return this.fullName.equals(dp.fullName);
- }
-
- @Override
- public int hashCode() {
- return fullName.hashCode();
- }
-
- /**
- * @return Returns the policies.
- */
- public ArrayList<Integer> getPolicies() {
- return policies;
- }
-
- /**
- * @param policies The policies to set.
- */
- public void setPolicies(ArrayList<Integer> policies) {
- this.policies = policies;
- }
-
- public boolean isHasPolicy() {
- return hasPolicy;
- }
-
- public void setHasPolicy(boolean hasPolicy) {
- this.hasPolicy = hasPolicy;
- }
-
- @Override
- public String toString() {
- return fullName + " : " + this.bemsid + " : " + email;
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/IState.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/IState.java
deleted file mode 100644
index ac8bb165bf..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/IState.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.stateMachine;
-
-/**
- * A single state in a contructed state machine. All implementers should calculate and control what the next state in
- * the machine should be.
- */
-public interface IState {
- /**
- * Called by the state machine controller to start this particular state.
- *
- * @return The next state the controller should run or null if the machine should terminate
- */
- public IState run();
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/StateController.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/StateController.java
deleted file mode 100644
index 52d4223bbc..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/StateController.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.stateMachine;
-
-/**
- * Runs each state of the stateMachine defined. Each state will calculate and know which state to go to next so this is
- * really a dumb controller, calling the run method of whatever state the current state returned from being run.
- */
-public class StateController {
- private IState nextState;
- private boolean isRunning;
-
- public StateController(IState initialState) {
- isRunning = true;
- nextState = initialState;
- }
-
- /**
- * Calls the run method of the next state.
- */
- public void runNextState() {
- if (isRunning) {
- nextState = nextState.run();
- }
- if (nextState == null) {
- isRunning = false;
- }
- }
-
- public boolean isRunning() {
- return isRunning;
- }
-
- /**
- * causes machine to terminate on next ivocation of the controller's run method.
- */
- public void turnMachineOff() {
- isRunning = false;
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/WaitState.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/WaitState.java
deleted file mode 100644
index 3c38de5cce..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/stateMachine/WaitState.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.stateMachine;
-
-/**
- * allows a state machine to wait for a certain number of cycles before continuing. Notice that if a state needs to wait
- * only one cycle, a wait state should not be used as it would really be two cycles ( one to run the wait state then one
- * to start the next state). Instead that state could simply return an instance of the next state to run as normal.
- */
-public class WaitState implements IState {
-
- int iterationsToWait;
- IState nextRealStateToRun;
-
- /**
- * @param iterationsToWait The number of times this state will be run
- * @param nextRealStateToRun The next state to run after waiting
- */
- public WaitState(int iterationsToWait, IState nextRealStateToRun) {
- this.iterationsToWait = iterationsToWait;
- this.nextRealStateToRun = nextRealStateToRun;
- }
-
- @Override
- public IState run() {
- iterationsToWait--;
- if (iterationsToWait <= 0) {
- return nextRealStateToRun;
- } else {
- return this;
- }
-
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/RuleRecord.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/RuleRecord.java
index e73df65d36..77c95bcd2e 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/RuleRecord.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/RuleRecord.java
@@ -12,7 +12,6 @@ package org.eclipse.osee.framework.jdk.core.text;
import java.util.logging.Level;
import java.util.logging.LogRecord;
-import org.eclipse.osee.framework.jdk.core.persistence.Xmlizable;
import org.eclipse.osee.framework.jdk.core.util.xml.Jaxp;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
@@ -20,7 +19,7 @@ import org.w3c.dom.Element;
/**
* @author Michael A. Winston
*/
-public class RuleRecord extends LogRecord implements Xmlizable {
+public class RuleRecord extends LogRecord {
private static final long serialVersionUID = 6974861818239720347L;
@@ -28,7 +27,7 @@ public class RuleRecord extends LogRecord implements Xmlizable {
* RuleRecord Constructor. This is an abstract class so this constructor is called via the super() call from the
* extended class. This sets the source, the logging level, the log message and whether a timestamp should be
* included.
- *
+ *
* @param level The logging level.
* @param msg The log message.
*/
@@ -38,13 +37,11 @@ public class RuleRecord extends LogRecord implements Xmlizable {
/**
* Converts log element to XML format.
- *
+ *
* @return xml formated element.
*/
- @Override
public Element toXml(Document doc) {
Element recordElement = Jaxp.createElement(doc, getLevel().getName(), getMessage());
return recordElement;
}
-
} \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/ReplaceRcsLog.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/ReplaceRcsLog.java
deleted file mode 100644
index 2902f33387..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/ReplaceRcsLog.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.text.tool;
-
-import java.io.File;
-import java.io.IOException;
-import java.nio.CharBuffer;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-import org.eclipse.osee.framework.jdk.core.text.Range;
-import org.eclipse.osee.framework.jdk.core.text.change.ChangeSet;
-import org.eclipse.osee.framework.jdk.core.util.Lib;
-import org.eclipse.osee.framework.jdk.core.util.io.MatchFilter;
-
-/**
- * @author Ryan D. Brooks
- */
-public class ReplaceRcsLog {
- private static final Pattern logStartP = Pattern.compile("\\$Log.*\\s+");
- private static final Pattern revP = Pattern.compile("Revision \\d+\\.\\d+.*");
- private static final Pattern revEndP = Pattern.compile("\n[* \t/\\\\]*\n");
-
- public static void main(String[] args) {
- if (args.length < 3) {
- System.out.println("Usage: java text.ReplaceRcsLog <dir for history> <dir for content> <result dir>");
- return;
- }
-
- ReplaceRcsLog app = new ReplaceRcsLog();
- app.replaceRcsLogs(new File(args[0]), new File(args[1]), new File(args[2]));
- }
-
- /**
- * @param directoryA directory of test files will have their rcs log extracted
- * @param directoryB directory of test files that will have their content preserved and log replaced
- */
- public void replaceRcsLogs(File directoryA, File directoryB, File resultDir) {
- File[] files = directoryA.listFiles(new MatchFilter(".*\\.(c|mac|h)"));
-
- for (int i = 0; i < files.length; i++) {
- File fileB = new File(directoryB, files[i].getName());
- if (fileB.exists()) {
- replaceRcsLog(files[i], fileB, new File(resultDir, files[i].getName()));
- }
- }
- }
-
- public void replaceRcsLog(File historyFile, File contentFile, File resultFile) {
-
- CharBuffer historySeq;
- CharBuffer contentSeq;
- try {
- historySeq = Lib.fileToCharBuffer(historyFile);
- Range historyRange = findRcsLog(historySeq);
-
- contentSeq = Lib.fileToCharBuffer(contentFile);
- Range contentRange = findRcsLog(contentSeq);
-
- ChangeSet changeSet = new ChangeSet(contentSeq);
- changeSet.replace(contentRange.start, contentRange.end, historySeq.array(), historyRange.start,
- historyRange.length);
- changeSet.applyChanges(resultFile);
- } catch (IOException ex) {
- ex.printStackTrace();
- return;
- } catch (IllegalArgumentException ex) {
- System.out.println(historyFile + ": " + ex.getMessage());
- return;
- }
- }
-
- public static Range findRcsLog(CharSequence seq) throws IllegalArgumentException {
- Matcher logStartM = logStartP.matcher(seq);
- if (!logStartM.find()) {
- throw new IllegalArgumentException(" is missing $Log");
- }
- int firstRevStartIndex = logStartM.end(); // first char of actual revision info
-
- Matcher revM = revP.matcher(seq);
- int lastRevStartIndex = 0;
- while (revM.find()) {
- lastRevStartIndex = revM.start();
- } // this loop with cause the last revsion to be found (usually 1.1)
-
- Matcher revEndM = revEndP.matcher(seq);
- int lastRevEndIndex = 0;
- if (!revEndM.find(lastRevStartIndex)) {
- throw new IllegalArgumentException(" didn't find end of revision info");
- }
- lastRevEndIndex = revEndM.start() + 1; // include the last new line
-
- return new Range(firstRevStartIndex, lastRevEndIndex);
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/RpcrSignalChanges.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/RpcrSignalChanges.java
deleted file mode 100644
index 828cff4ecf..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/RpcrSignalChanges.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.text.tool;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.FileReader;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.NoSuchElementException;
-import java.util.StringTokenizer;
-
-/**
- * @author Ryan D. Brooks
- */
-public class RpcrSignalChanges {
- public String rpcrName;
- public ArrayList<String> signals;
- public boolean mux;
-
- public RpcrSignalChanges(File file) throws IOException {
- rpcrName = file.getName().substring(0, 4);
- this.signals = new ArrayList<>(500);
-
- BufferedReader in = null;
- try {
- in = new BufferedReader(new FileReader(file));
- } catch (FileNotFoundException ex) {
- System.err.println(ex);
- throw new IllegalArgumentException(ex.toString());
- }
-
- String line = null;
- // if line 6 starts with " Signal Name", then these are mux changes
- for (int j = 0; j < 6; j++) {
- line = in.readLine();
- }
- if (line != null) {
- mux = line.startsWith(" Signal Name");
- }
-
- while ((line = in.readLine()) != null) {
- String result = extractSignal(line);
- if (result != null) {
- signals.add(result);
- }
- }
- in.close();
- }
-
- protected String extractSignal(String line) {
- try {
- StringTokenizer tok = new StringTokenizer(line);
- if (!tok.hasMoreTokens()) {
- System.out.println("blank line");
- return null;
- }
- String changeSymbol = tok.nextToken();
-
- if (changeSymbol.equals("+") || changeSymbol.equals(">")) {
- if (!tok.nextToken().equals("is:")) {
- throw new IllegalArgumentException("Ryan --> you didn't think of everyting. Duh!");
- }
- if (line.charAt(6) != ' ') { // there is either a mux name or a fiber interface
- if (mux) {
- return line.substring(6, 25).trim();
- } else {
- tok.nextToken(); // skip interface name
- String elementName = tok.nextToken();
- String lmName = tok.nextToken();
- return "l_" + lmName.toLowerCase() + "__" + elementName.toLowerCase();
- }
- }
- }
- } catch (NoSuchElementException ex) {
- System.out.println(ex + line);
- System.exit(1);
- }
- return null;
- }
-
- public boolean affectsLine(String line) {
- for (int i = 0; i < signals.size(); i++) {
- if (line.indexOf(signals.get(i)) != -1) {
- return true;
- }
- }
- return false;
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/SignalChanges.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/SignalChanges.java
deleted file mode 100644
index f2e2900be5..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/text/tool/SignalChanges.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.text.tool;
-
-import java.io.BufferedReader;
-import java.io.BufferedWriter;
-import java.io.File;
-import java.io.FileReader;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import org.eclipse.osee.framework.jdk.core.util.io.MatchFilter;
-
-/**
- * @author Ryan D. Brooks
- */
-public class SignalChanges {
-
- public static void main(String[] args) throws IOException {
- if (args.length < 1) {
- System.out.println("Usage: java text.SignalChanges <.dat directory> <scirpt source directory>");
- return;
- }
-
- ArrayList<Object> list = loadList(args[0]);
- writeSignalChanges(list, new File(args[0], "cdb_changes.txt"), new File(args[0], "mux_changes.txt"));
- writeChangeVerification(args[1], list);
- }
-
- // return list of RpcrSignalChanges found in the dat files in the given directory
- public static ArrayList<Object> loadList(String path) throws IOException {
- ArrayList<Object> list = new ArrayList<>(20);
-
- File directory = new File(path);
- File[] files = directory.listFiles(new MatchFilter(".*\\.txt"));
- Arrays.sort(files);
- System.out.println("Found " + files.length + " dat files in " + path + ".");
-
- for (int i = 0; i < files.length; i++) {
- list.add(new RpcrSignalChanges(files[i]));
- }
- return list;
- }
-
- public static void writeChangeVerification(String scriptsPath, ArrayList<Object> changesList) throws IOException {
- BufferedWriter out = new BufferedWriter(new FileWriter("rpcr_list.txt"));
-
- File directory = new File(scriptsPath);
- File[] files = directory.listFiles(new MatchFilter(".*\\.c"));
- Arrays.sort(files);
- System.out.println("Found " + files.length + " script files in " + scriptsPath + ".");
-
- for (int i = 0; i < changesList.size(); i++) {
- RpcrSignalChanges rpCh = (RpcrSignalChanges) changesList.get(i);
- out.write(rpCh.rpcrName + "\n");
-
- for (int j = 0; j < files.length; j++) {
- BufferedReader in = new BufferedReader(new FileReader(files[j]));
-
- String line = null;
- while ((line = in.readLine()) != null) {
- if (rpCh.affectsLine(line)) {
- out.write("\t" + files[j].getName() + "\n");
- break;
- }
- }
- in.close();
- }
- out.flush();
- }
- out.close();
- }
-
- public static void writeSignalChanges(ArrayList<Object> changesList, File outputFile, File muxOutputFile) throws IOException {
- BufferedWriter out = new BufferedWriter(new FileWriter(outputFile));
- BufferedWriter muxOut = new BufferedWriter(new FileWriter(muxOutputFile));
-
- for (int i = 0; i < changesList.size(); i++) {
- RpcrSignalChanges rpcrCng = (RpcrSignalChanges) changesList.get(i);
- if (rpcrCng.mux) {
- for (int j = 0; j < rpcrCng.signals.size(); j++) {
- muxOut.write(rpcrCng.rpcrName + "," + rpcrCng.signals.get(j) + "\n");
- }
- } else {
- for (int j = 0; j < rpcrCng.signals.size(); j++) {
- out.write(rpcrCng.rpcrName + " " + rpcrCng.signals.get(j) + "\n");
- }
- }
- }
- out.close();
- muxOut.close();
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/DoublePoint.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/DoublePoint.java
deleted file mode 100644
index afa7eabe47..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/DoublePoint.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-import java.io.Serializable;
-
-/**
- * @author Charles Shaw
- */
-public class DoublePoint implements Serializable {
-
- private static final long serialVersionUID = 2417895993917844086L;
- protected double x;
- protected double y;
-
- /**
- * @param x The x coordinate of the point.
- * @param y The y coordinate of the point.
- */
- public DoublePoint(double x, double y) {
- super();
- this.x = x;
- this.y = y;
- }
-
- public DoublePoint() {
- super();
- this.x = 0.0;
- this.y = 0.0;
- }
-
- public double getX() {
- return x;
- }
-
- public void setX(double x) {
- this.x = x;
- }
-
- public double getY() {
- return y;
- }
-
- public void setY(double y) {
- this.y = y;
- }
-
- @Override
- public boolean equals(Object object) {
- boolean matches = false;
-
- if (object instanceof DoublePoint) {
- DoublePoint point = (DoublePoint) object;
- matches = point.x == this.x && point.y == this.y;
- }
-
- return matches;
- }
-
- @Override
- public int hashCode() {
- int result = 17;
- int prime = 31;
- result = result * prime + ((Double) x).hashCode();
- result = result * prime + ((Double) y).hashCode();
- return result;
- }
-
- @Override
- public String toString() {
- return "(" + x + ", " + y + ")";
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/FixedSizePriorityQueue.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/FixedSizePriorityQueue.java
deleted file mode 100644
index 7b7b6cf855..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/FixedSizePriorityQueue.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-import java.util.Comparator;
-import java.util.PriorityQueue;
-
-/**
- * Creates a PriorityQueue of fixed size. Once the queue has become full, attempts to add elements will result in the
- * least (or smallest) element being removed from the queue.
- *
- * @author David Diepenbrock
- */
-public class FixedSizePriorityQueue<E> extends PriorityQueue<E> {
-
- private static final long serialVersionUID = 6408445028193363641L;
-
- private final int qSize;
-
- public FixedSizePriorityQueue(int size, Comparator<E> comparator) {
- super(size, comparator);
- this.qSize = size;
- }
-
- public FixedSizePriorityQueue(int size) {
- super(size);
- this.qSize = size;
- }
-
- public FixedSizePriorityQueue(int size, E initialElement) {
- this(size);
- this.add(initialElement);
- }
-
- @Override
- public boolean add(E o) {
- return this.offer(o);
- }
-
- @Override
- public boolean offer(E o) {
- if (size() >= qSize) {
- this.poll();
- }
- return super.offer(o);
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HasPriority.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HasPriority.java
deleted file mode 100644
index 3b05b5a2e9..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HasPriority.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-/**
- * @author Roberto E. Escobar
- */
-public interface HasPriority {
-
- int getPriority();
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionHeavy.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionHeavy.java
deleted file mode 100644
index 92f3b338d3..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionHeavy.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-import java.util.Collection;
-
-/**
- * A Map of keys to multiple values. Collections of values are stored in the Map. The type of Collection can be
- * specified at construction, if desired. All Collections returned by methods are backed by the HashCollection, so
- * changes to the HashCollection are reflected in the Collection, and vice-versa. However, modifications to the
- * Collection outside of this class are generally discouraged because removal of the last item would then not guarantee
- * removal of the key.
- * <p>
- * The implementation is tied to the HashCollectionPlus class, providing a null Object for the "plus" object.
- *
- * @author David Diepenbrock
- */
-@SuppressWarnings("rawtypes")
-public class HashCollectionHeavy<K, V> extends HashCollectionPlus<K, V, Object> {
-
- private static IPlusProvider<Object> provider = new IPlusProvider<Object>() {
- @Override
- public Object newObject() {
- return null;
- }
- };
-
- /********************************************************************************************************************
- * Constructors
- *******************************************************************************************************************/
-
- /**
- * @see HashCollectionPlus#HashCollectionPlus(boolean, Class, int, float, IPlusProvider)
- */
- public HashCollectionHeavy(boolean isSynchronized, Class<? extends Collection> collectionType, int initialCapacity, float loadFactor) {
- super(isSynchronized, collectionType, initialCapacity, loadFactor, provider);
- }
-
- /**
- * @see HashCollectionPlus#HashCollectionPlus(boolean, Class, int, IPlusProvider)
- */
- public HashCollectionHeavy(boolean isSynchronized, Class<? extends Collection> collectionType, int initialCapacity) {
- super(isSynchronized, collectionType, initialCapacity, provider);
- }
-
- /**
- * @see HashCollectionPlus#HashCollectionPlus(boolean, Class, IPlusProvider)
- */
- public HashCollectionHeavy(boolean isSynchronized, Class<? extends Collection> collectionType) {
- super(isSynchronized, collectionType, provider);
- }
-
- /**
- * Creates an unsynchronized HashCollection using a default Collection type
- *
- * @see HashCollectionHeavy#HashCollection(boolean, Class, int, float)
- * @see HashCollectionPlus#DEFAULT_COLLECTION_TYPE
- */
- public HashCollectionHeavy(int initialCapacity, float loadFactor) {
- this(false, DEFAULT_COLLECTION_TYPE, initialCapacity, loadFactor);
- }
-
- /**
- * Creates an unsynchronized HashCollection using a default Collection type
- *
- * @see HashCollectionHeavy#HashCollection(boolean, Class, int)
- * @see HashCollectionPlus#DEFAULT_COLLECTION_TYPE
- */
- public HashCollectionHeavy(int initialCapacity) {
- this(false, DEFAULT_COLLECTION_TYPE, initialCapacity);
- }
-
- /**
- * Creates an unsynchronized HashCollection using a default Collection type
- *
- * @see HashCollectionHeavy#HashCollection(boolean, Class, int)
- * @see HashCollectionPlus#DEFAULT_COLLECTION_TYPE
- */
- public HashCollectionHeavy(boolean isSynchronized) {
- this(isSynchronized, DEFAULT_COLLECTION_TYPE);
- }
-
- /**
- * Creates an unsynchronized HashCollection using a default Collection type
- *
- * @see HashCollectionHeavy#HashCollection(boolean, Class)
- * @see HashCollectionPlus#DEFAULT_COLLECTION_TYPE
- */
- public HashCollectionHeavy() {
- this(false, DEFAULT_COLLECTION_TYPE);
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionPlus.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionPlus.java
deleted file mode 100644
index f457dea660..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionPlus.java
+++ /dev/null
@@ -1,317 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.concurrent.ConcurrentHashMap;
-
-/**
- * A Map of keys to multiple values. Collections of values are stored in the Map. The type of Collection can be
- * specified at construction, if desired. All Collections returned by methods are backed by the HashCollection, so
- * changes to the HashCollection are reflected in the Collection, and vice-versa. However, modifications to the
- * Collection outside of this class are generally discouraged because removal of the last item would then not guarantee
- * removal of the key. The mapping also contains a "plus" object. This object can store additional information about the
- * key. At construction a class of type IPlusProvider must be provided. This provider will generate instances of this
- * "plus" object whenever a new key is added to the Map. When all of the items in the Collection are removed, the entire
- * key is removed from the table - therefore, the "plus" object is only available as long as the Collection for a given
- * key is not empty.
- *
- * @author David Diepenbrock
- */
-@SuppressWarnings("rawtypes")
-public class HashCollectionPlus<K, V, O> {
-
- private boolean isSynchronized;
- private Class<? extends Collection> collectionType;
- private IPlusProvider<O> plusProvider;
-
- private Map<K, Pair<Collection<V>, O>> map;
- public static final Class<? extends Collection> DEFAULT_COLLECTION_TYPE = ArrayList.class;
-
- /********************************************************************************************************************
- * Constructors
- *******************************************************************************************************************/
-
- /**
- * @param isSynchronized - If true, the Map & Collection will both be synchronized using the
- * Collections.synchronizedMap & Collections.synchronizedCollection. otherwise, this class will not be synchronzied
- * and therefore not threadsafe.
- * @param collectionType The type of collection to use to as the values within the HashMap.
- * @see HashMap#HashMap(int, float)
- */
- public HashCollectionPlus(boolean isSynchronized, Class<? extends Collection> collectionType, int initialCapacity, float loadFactor, IPlusProvider<O> plusProvider) {
-
- if (isSynchronized) {
- map = new ConcurrentHashMap<>(initialCapacity, loadFactor);
- } else {
- map = new HashMap<>(initialCapacity, loadFactor);
- }
-
- this.isSynchronized = isSynchronized;
- this.collectionType = collectionType;
- this.plusProvider = plusProvider;
- }
-
- /**
- * @param isSynchronized - If true, the Map & Collection will both be synchronized using the
- * Collections.synchronizedMap & Collections.synchronizedCollection. otherwise, this class will not be synchronzied
- * and therefore not threadsafe.
- * @param collectionType - The type of collection to use to as the values within the HashMap.
- * @see HashMap#HashMap(int)
- */
- public HashCollectionPlus(boolean isSynchronized, Class<? extends Collection> collectionType, int initialCapacity, IPlusProvider<O> plusProvider) {
- if (isSynchronized) {
- map = new ConcurrentHashMap<>(initialCapacity);
- } else {
- map = new HashMap<>(initialCapacity);
- }
-
- this.isSynchronized = isSynchronized;
- this.collectionType = collectionType;
- this.plusProvider = plusProvider;
- }
-
- /**
- * @param isSynchronized - If true, the Map & Collection will both be synchronized using the
- * Collections.synchronizedMap & Collections.synchronizedCollection. otherwise, this class will not be synchronzied
- * and therefore not threadsafe.
- * @param collectionType - The type of collection to use to as the values within the HashMap.
- * @see HashMap#HashMap()
- */
- public HashCollectionPlus(boolean isSynchronized, Class<? extends Collection> collectionType, IPlusProvider<O> plusProvider) {
- if (isSynchronized) {
- map = new ConcurrentHashMap<>();
- } else {
- map = new HashMap<>();
- }
-
- this.isSynchronized = isSynchronized;
- this.collectionType = collectionType;
- this.plusProvider = plusProvider;
- }
-
- /**
- * Creates an unsynchronized HashCollectionPlus using a default Collection type (ArrayList)
- *
- * @see HashMap#HashMap(int, float)
- */
- public HashCollectionPlus(int initialCapacity, float loadFactor, IPlusProvider<O> plusProvider) {
- this(false, DEFAULT_COLLECTION_TYPE, initialCapacity, loadFactor, plusProvider);
- }
-
- /**
- * Creates an unsynchronized HashCollectionPlus using a default Collection type (ArrayList)
- *
- * @see HashMap#HashMap(int)
- */
- public HashCollectionPlus(int initialCapacity, IPlusProvider<O> plusProvider) {
- this(false, DEFAULT_COLLECTION_TYPE, initialCapacity, plusProvider);
- }
-
- /**
- * Creates an unsynchronized HashCollectionPlus using a default Collection type (ArrayList)
- *
- * @see HashMap#HashMap()
- */
- public HashCollectionPlus(IPlusProvider<O> plusProvider) {
- this(false, DEFAULT_COLLECTION_TYPE, plusProvider);
- }
-
- /********************************************************************************************************************
- * Methods
- *******************************************************************************************************************/
-
- /**
- * Adds the value to the collection specified by the key. If there is not a collection for the given key, a new
- * collection is created and added to the hash.
- *
- * @param key The key whose collection we will add value to.
- * @param value The value to be added.
- * @return the collection containing value and all other items associated with the key.
- */
- @SuppressWarnings("unchecked")
- public Collection<V> put(K key, V value) {
- Pair<Collection<V>, O> objectPair = map.get(key);
- if (objectPair == null) {
- try {
- Collection<V> items;
- if (isSynchronized) {
- items = Collections.synchronizedCollection(collectionType.newInstance());
- } else {
- items = collectionType.newInstance();
- }
-
- objectPair = new Pair(items, plusProvider.newObject());
- map.put(key, objectPair);
- } catch (InstantiationException ex) {
- ex.printStackTrace();
- return null;
- } catch (IllegalAccessException ex) {
- ex.printStackTrace();
- return null;
- }
- }
- objectPair.getFirst().add(value);
- return objectPair.getFirst();
- }
-
- /**
- * Adds all of the items in the Collection values to the collection for the specified key.
- *
- * @param key The key to add the values to
- * @param values The values to be added
- * @return The collection for the key, containing all values.
- */
- public Collection<V> put(K key, Collection<V> values) {
- Collection<V> items = null;
-
- for (V value : values) {
- if (items == null) {
- items = this.put(key, value);
- } else {
- items.add(value);
- }
- }
- return items;
- }
-
- /**
- * @param key The key whose collection we will remove value from.
- * @param value The value to be removed
- * @return true iff the value was removed from the collection for key.
- */
- public boolean removeValue(K key, V value) {
- Pair<Collection<V>, O> objectPair = map.get(key);
-
- if (objectPair != null) {
- Collection<V> items = objectPair.getFirst();
- if (items != null) {
- if (items.remove(value)) {
- if (items.isEmpty()) {
- map.remove(key);
- }
- return true;
- }
- }
- }
- return false;
- }
-
- public Collection<V> removeValues(K key) {
- Pair<Collection<V>, O> objectPair = map.remove(key);
- Collection<V> toReturn;
- if (objectPair != null) {
- toReturn = objectPair.getFirst();
- } else {
- toReturn = Collections.emptyList();
- }
- return toReturn;
- }
-
- /**
- * Returns the Collection of items for this key, or null if the key does not exist.
- *
- * @return Return value collection reference
- */
- public Collection<V> getValues(K key) {
- Pair<Collection<V>, O> objectPair = map.get(key);
- if (objectPair != null) {
- return objectPair.getFirst();
- }
- return null;
- }
-
- /**
- * Returns the Collection all items
- *
- * @return Return value collection reference
- */
- public List<V> getValues() {
- List<V> values = new ArrayList<>();
- for (Pair<Collection<V>, O> objectPair : map.values()) {
- if (objectPair != null) {
- values.addAll(objectPair.getFirst());
- }
- }
- return values;
- }
-
- /**
- * Returns the "plus" object associated with the key, or null if the key does not exist.
- *
- * @return Return object reference
- */
- public O getPlusObject(K key) {
- Pair<Collection<V>, O> objectPair = map.get(key);
- if (objectPair != null) {
- return map.get(key).getSecond();
- }
- return null;
- }
-
- public Set<K> keySet() {
- return map.keySet();
- }
-
- public void clear() {
- map.clear();
- }
-
- public boolean containsKey(K key) {
- return map.containsKey(key);
- }
-
- public boolean isEmpty() {
- return map.isEmpty();
- }
-
- /**
- * The total number of key-value combinations
- */
- public int size() {
- int size = 0;
- Set<K> keySet = keySet();
-
- synchronized (map) {
- for (K key : keySet) {
- size += getValues(key).size();
- }
- }
- return size;
- }
-
- /**
- * @return whether the map contains this value
- */
- public boolean containsValue(Object value) {
- for (Pair<Collection<V>, O> objectPair : map.values()) {
- if (objectPair != null) {
- for (V tempValue : objectPair.getFirst()) {
- if (value.equals(tempValue)) {
- return true;
- }
- }
- }
- }
- return false;
- }
-
- @Override
- public String toString() {
- return map.toString();
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionPlusMap.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionPlusMap.java
deleted file mode 100644
index 348d9b21cb..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollectionPlusMap.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * A HashCollectionPlus which maintains a map as the "plus" object.
- *
- * @see HashCollectionPlus
- * @author David Diepenbrock
- */
-public class HashCollectionPlusMap<K, V, P, S> extends HashCollectionPlus<K, V, Map<P, S>> {
-
- /**
- * Creates using a synchronized map for the "plus" object regardless of the isSynchronized flag, which is passed on
- * to the HashCollectionPlus super object.
- *
- * @see HashCollectionPlus#HashCollectionPlus(boolean, Class, IPlusProvider)
- */
- public HashCollectionPlusMap(boolean isSynchronized, Class<? extends Collection<?>> collectionType) {
- super(isSynchronized, collectionType, new IPlusProvider<Map<P, S>>() {
- @Override
- public Map<P, S> newObject() {
- return Collections.synchronizedMap(new HashMap<P, S>());
- }
- });
- }
-
- /**
- * Returns the value from the "plus" map associated with the two keys provided
- *
- * @param key The key to the hashCollection
- * @param mapKey The key to the "plus" map
- * @return The associated value, or null if either key had no associated entry.
- */
- public S getMapValue(K key, P mapKey) {
- S value = null;
- Map<P, S> theMap = this.getPlusObject(key);
- if (theMap != null) {
- value = theMap.get(mapKey);
- }
- return value;
- }
-
- /**
- * Sets the value from the "plus" map associated with the two keys provided
- *
- * @param key The key to the hashCollection
- * @param mapKey The key to the "plus" map
- * @param value The value to set into the "plus" map for the mapKey
- * @return true if the value was successfully set
- */
- public boolean setMapValue(K key, P mapKey, S value) {
- Map<P, S> theMap = this.getPlusObject(key);
- if (theMap != null) {
- theMap.put(mapKey, value);
- return true;
- }
- return false;
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/IInputListener.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/IInputListener.java
deleted file mode 100644
index 4a742b0ef8..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/IInputListener.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-import java.util.Collection;
-
-/**
- * @author Roberto E. Escobar
- */
-public interface IInputListener<T> {
-
- void addNode(T node);
-
- void addNodes(Collection<T> nodes);
-
- void removeNode(T node);
-
- void removeAll();
-
- void nodeChanged(T inNode);
-
- void inputChanged();
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/IPlusProvider.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/IPlusProvider.java
deleted file mode 100644
index c6813ea66f..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/IPlusProvider.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-/**
- * This object is designed for use with the HashCollectionPlus in order to provide new objects of a particular type.
- *
- * @author David Diepenbrock
- */
-public interface IPlusProvider<O> {
-
- /**
- * @return a new object of type O.
- */
- public O newObject();
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/InputManager.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/InputManager.java
deleted file mode 100644
index 05f399670d..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/InputManager.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-/**
- * @author Roberto E. Escobar
- */
-public class InputManager<T> implements IInputListener<T> {
-
- private final List<T> inputList;
- private final Set<IInputListener<T>> changeListeners;
-
- public InputManager() {
- super();
- inputList = Collections.synchronizedList(new ArrayList<T>());
- changeListeners = Collections.synchronizedSet(new HashSet<IInputListener<T>>());
- }
-
- public List<T> getInputList() {
- return inputList;
- }
-
- @Override
- public void addNode(T inNode) {
- synchronized (inputList) {
- inputList.add(inputList.size(), inNode);
- }
- synchronized (changeListeners) {
- Iterator<IInputListener<T>> iterator = changeListeners.iterator();
- while (iterator.hasNext()) {
- iterator.next().addNode(inNode);
- }
- }
- }
-
- @Override
- public void addNodes(Collection<T> inNode) {
- synchronized (inputList) {
- this.inputList.addAll(inNode);
- }
- synchronized (changeListeners) {
- Iterator<IInputListener<T>> iterator = changeListeners.iterator();
- while (iterator.hasNext()) {
- iterator.next().addNodes(inNode);
- }
- }
- }
-
- @Override
- public void removeNode(T inNode) {
- synchronized (inputList) {
- this.inputList.remove(inNode);
- }
- synchronized (changeListeners) {
- Iterator<IInputListener<T>> iterator = changeListeners.iterator();
- while (iterator.hasNext()) {
- iterator.next().removeNode(inNode);
- }
- }
- }
-
- @Override
- public void nodeChanged(T inNode) {
- synchronized (changeListeners) {
- Iterator<IInputListener<T>> iterator = changeListeners.iterator();
- while (iterator.hasNext()) {
- iterator.next().nodeChanged(inNode);
- }
- }
- }
-
- @Override
- public void inputChanged() {
- synchronized (changeListeners) {
- Iterator<IInputListener<T>> iterator = changeListeners.iterator();
- while (iterator.hasNext()) {
- iterator.next().inputChanged();
- }
- }
- }
-
- @Override
- public void removeAll() {
- synchronized (inputList) {
- this.inputList.clear();
- }
- synchronized (changeListeners) {
- Iterator<IInputListener<T>> iterator = changeListeners.iterator();
- while (iterator.hasNext()) {
- iterator.next().removeAll();
- }
- }
- }
-
- public void addInputListener(IInputListener<T> listener) {
- synchronized (changeListeners) {
- changeListeners.add(listener);
- }
-
- for (T node : inputList) {
- listener.addNode(node);
- }
- }
-
- public void removeInputListener(IInputListener<T> listener) {
- synchronized (changeListeners) {
- changeListeners.remove(listener);
- }
- }
-
- @Override
- public String toString() {
- synchronized (inputList) {
- StringBuilder toReturn = new StringBuilder();
- for (int i = 0; i < inputList.size(); i++) {
- T node = inputList.get(i);
- toReturn.append(node.toString());
- }
- toReturn.append("\n\n");
- return toReturn.toString();
- }
- }
-
- public void dispose() {
- synchronized (inputList) {
- inputList.clear();
- }
- synchronized (changeListeners) {
- changeListeners.clear();
- }
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/JaxRsUuidNamed.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/JaxRsUuidNamed.java
deleted file mode 100644
index 06cec74690..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/JaxRsUuidNamed.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2015 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-import javax.xml.bind.annotation.XmlRootElement;
-
-/**
- * @author Donald G. Dunne
- */
-@XmlRootElement
-public class JaxRsUuidNamed {
-
- private String name;
- private long uuid;
-
- public JaxRsUuidNamed() {
- this("", 0L);
- }
-
- public JaxRsUuidNamed(String name, Long uuid) {
- this.uuid = uuid;
- this.name = name;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public long getUuid() {
- return uuid;
- }
-
- public void setUuid(long uuid) {
- this.uuid = uuid;
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/SimpleEnum.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/SimpleEnum.java
deleted file mode 100644
index 2175d060fe..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/SimpleEnum.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.type;
-
-/**
- * @author Donald G. Dunne
- */
-public abstract class SimpleEnum {
-
- public final transient int value;
- public final String name;
-
- protected SimpleEnum(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public final String toString() {
- return name;
- }
-
- @Override
- public final boolean equals(Object obj) {
- return super.equals(obj);
- }
-
- @Override
- public final int hashCode() {
- return value;
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/CmdLineArgs.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/CmdLineArgs.java
deleted file mode 100644
index 915dac5f48..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/CmdLineArgs.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util;
-
-import java.util.HashMap;
-
-public class CmdLineArgs {
-
- private final HashMap<String, String> cmdArgs;
-
- public CmdLineArgs(String[] args) {
- cmdArgs = new HashMap<>();
-
- for (int i = 0; i < args.length; i++) {
- if (args[i].matches("-\\w.*")) {
- if (i + 1 < args.length && !args[i + 1].matches("-\\D.*")) {
- cmdArgs.put(args[i], args[i + 1]);
- i++;
- } else {
- cmdArgs.put(args[i], null);
- }
- } else {
- cmdArgs.put(args[i], null);
- }
- }
- }
-
- public String get(String key) {
- return cmdArgs.get(key);
- }
-
- public HashMap<String, String> getArgs() {
- return cmdArgs;
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Collections.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Collections.java
index c1c3bd5018..bcc3921725 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Collections.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Collections.java
@@ -14,7 +14,6 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
-import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
@@ -101,16 +100,6 @@ public class Collections {
return toString(c, null, separator, null);
}
- public static <T> void filter(Collection<T> items, Filter<T> filter) throws Exception {
- Iterator<T> it = items.iterator();
- while (it.hasNext()) {
- T item = it.next();
- if (!filter.accept(item)) {
- it.remove();
- }
- }
- }
-
public static <A> List<Collection<A>> subDivide(List<A> collection, int size) {
List<Collection<A>> result = new ArrayList<>();
for (int i = 0; i < collection.size() / size + 1; i++) {
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Filter.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Filter.java
deleted file mode 100644
index e04d36575e..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Filter.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2013 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util;
-
-/**
- * @author Angel Avila
- */
-public interface Filter<T> {
- boolean accept(T item) throws Exception;
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/IAbbreviated.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/IAbbreviated.java
deleted file mode 100644
index 9d4c307746..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/IAbbreviated.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util;
-
-/**
- * An interface describing items that can provide an abbreviation name.
- *
- * @author Robert A. Fisher
- */
-public interface IAbbreviated {
- public String getAbbreviation();
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Objects.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Objects.java
deleted file mode 100644
index f498b554d2..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Objects.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util;
-
-/**
- * Utility class for methods useful to all Object's
- *
- * @author Robert A. Fisher
- */
-public final class Objects {
-
- /**
- * Produces a hash code that uses all of the supplied values. This method is guaranteed to return the same value
- * given the same input.
- */
- public static int hashCode(int PRIME_1, int PRIME_2, Object... data) {
- int result = PRIME_1;
-
- for (Object val : data) {
- result = PRIME_2 * result + val.hashCode();
- }
-
- return result;
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/PriorityComparator.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/PriorityComparator.java
deleted file mode 100644
index e5fe2cc43a..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/PriorityComparator.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util;
-
-import java.util.Comparator;
-import org.eclipse.osee.framework.jdk.core.type.HasPriority;
-
-/**
- * @author Roberto E. Escobar
- */
-public class PriorityComparator implements Comparator<HasPriority> {
-
- @Override
- public int compare(HasPriority o1, HasPriority o2) {
- return o1.getPriority() - o2.getPriority();
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/RegExpressLib.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/RegExpressLib.java
deleted file mode 100644
index d313e0f8ae..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/RegExpressLib.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util;
-
-import java.util.regex.Pattern;
-
-/**
- * @author Andy Jury
- */
-
-public class RegExpressLib {
-
- public static final Pattern findRegExpressNotInComment(String str) {
-
- String notInComment = "(?:/\\*.*?\\*/)";
-
- return Pattern.compile(notInComment + "|" + str, Pattern.DOTALL);
- }
-
- public static final Pattern findRegExpressNotInQuotes(String str) {
-
- String notInQuotes = "(?:\".*?[^\\\\]\")";
-
- return Pattern.compile(notInQuotes + "|" + str);
- }
-
- public static final Pattern findCMathFunctionNotInQuotes(String str) {
-
- return findRegExpressNotInQuotes("[^.\\w](" + str + "\\s*?)\\(.*?");
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Sets.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Sets.java
deleted file mode 100644
index a55ad531db..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/Sets.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util;
-
-import java.util.HashSet;
-import java.util.Set;
-
-/**
- * Utility methods for <code>Set</code>'s.
- *
- * @author Robert A. Fisher
- */
-public class Sets {
-
- /**
- * Compute the intersection of two sets, and return the resulting set.
- *
- * @throws IllegalArgumentException if either argument is null.
- */
- public static <A extends Object> Set<A> intersect(Set<A> set1, Set<A> set2) {
- if (set1 == null) {
- throw new IllegalArgumentException("set1 can not be null.");
- }
- if (set2 == null) {
- throw new IllegalArgumentException("set2 can not be null.");
- }
-
- Set<A> intersection = new HashSet<>();
-
- // Pick the smaller of the two sets as this will be the largest
- // possible intersection.
- boolean set1Larger = set1.size() > set2.size();
- Set<A> baseSet = set1Larger ? set2 : set1;
- Set<A> otherSet = set1Larger ? set1 : set2;
-
- for (A item : baseSet) {
- if (otherSet.contains(item)) {
- intersection.add(item);
- }
- }
-
- return intersection;
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/SingletonApplicationInstance.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/SingletonApplicationInstance.java
deleted file mode 100644
index 096d82800b..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/SingletonApplicationInstance.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util;
-
-import java.net.BindException;
-import java.net.InetAddress;
-import java.net.InetSocketAddress;
-import java.nio.channels.DatagramChannel;
-
-public class SingletonApplicationInstance {
-
- public static void verifySingleton(int port) throws Exception {
- if (findOther(port)) {
- System.out.println("found another instance");
- } else {
- System.out.println("no other instance found");
- }
- }
-
- private static boolean findOther(int port) throws Exception {
- InetAddress host = InetAddress.getLocalHost();
- try {
- DatagramChannel channel = DatagramChannel.open();
- channel.configureBlocking(true);
- InetSocketAddress address = new InetSocketAddress(host, port);
- channel.socket().bind(address);
- return false;
- } catch (BindException e) {
- return true;
- }
- }
-
- public static void main(String[] args) {
- try {
- verifySingleton(32900);
- System.in.read();
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/ExtensionFilter.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/ExtensionFilter.java
deleted file mode 100644
index ba9137f9db..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/ExtensionFilter.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.io;
-
-import java.io.File;
-import java.io.FileFilter;
-
-/**
- * Filter for filtering files that end with a specific string.
- *
- * @author Robert A. Fisher
- */
-public class ExtensionFilter implements FileFilter {
- private final String extension;
-
- /**
- * @param extension The string to match the end of the filenames against.
- * @throws IllegalArgumentException if <code>extension</code> is null.
- */
- public ExtensionFilter(String extension) {
- if (extension == null) {
- throw new IllegalArgumentException("extension must not be null");
- }
- this.extension = extension;
- }
-
- @Override
- public boolean accept(File file) {
- return file.isFile() && file.getName().endsWith(extension);
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/LnkWriter.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/LnkWriter.java
deleted file mode 100644
index 3573d1eb45..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/LnkWriter.java
+++ /dev/null
@@ -1,3394 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.io;
-
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-
-/**
- * Provides a way to produce simple lnk files.
- *
- * @author Robert A. Fisher
- */
-public class LnkWriter {
-
- private String description;
- private String longName;
- private String shortName;
- private char shareDriveLetter;
- private String shareName;
- private String relativePath;
- private String commandLineArguments;
- private String iconFilename;
- private String volumeLabel;
- private String workingDirectory;
- private String localPath;
- private String finalPath;
- private int iconNumber;
- private int fileLength;
- private int volumeSerialNumber;
- private DriveType driveType;
-
- private static final int DWORD = 4; // A dword is 4 bytes
-
- private static byte MAGIC_VAL[] = new byte[] {0x4C, 0x00, 0x00, 0x00};
- private static byte GUID[] = new byte[] {
- 0x01,
- 0x14,
- 0x02,
- 0x00,
- 0x00,
- 0x00,
- 0x00,
- 0x00,
- (byte) 0xC0,
- 0x00,
- 0x00,
- 0x00,
- 0x00,
- 0x00,
- 0x00,
- 0x46};
-
- public LnkWriter() {
- this.description = null;
- this.longName = null;
- this.shortName = null;
- this.shareName = null;
- this.relativePath = null;
- this.commandLineArguments = null;
- this.iconFilename = null;
- this.volumeLabel = null;
- this.workingDirectory = null;
- this.localPath = null;
- this.finalPath = null;
- this.iconNumber = 0;
- this.fileLength = 0;
- this.volumeSerialNumber = 0;
- this.driveType = DriveType.Unknown;
- }
-
- /**
- * @param commandLineArguments The commandLineArguments to set.
- */
- public void setCommandLineArguments(String commandLineArguments) {
- this.commandLineArguments = commandLineArguments;
- }
-
- /**
- * @param description The description to set.
- */
- public void setDescription(String description) {
- this.description = description;
- }
-
- /**
- * @param driveType The driveType to set.
- */
- public void setDriveType(DriveType driveType) {
- this.driveType = driveType;
- }
-
- /**
- * @param fileLength The fileLength to set.
- */
- public void setFileLength(int fileLength) {
- this.fileLength = fileLength;
- }
-
- /**
- * @param finalPath The finalPath to set.
- */
- public void setFinalPath(String finalPath) {
- this.finalPath = finalPath;
- }
-
- /**
- * @param iconFilename The iconFilename to set.
- */
- public void setIconFilename(String iconFilename) {
- this.iconFilename = iconFilename;
- }
-
- /**
- * @param iconNumber The iconNumber to set.
- */
- public void setIconNumber(int iconNumber) {
- this.iconNumber = iconNumber;
- }
-
- /**
- * @param localPath The localPath to set.
- */
- public void setLocalPath(String localPath) {
- this.localPath = localPath;
- }
-
- /**
- * @param longName The longName to set.
- */
- public void setLongName(String longName) {
- this.longName = longName;
- }
-
- /**
- * @param shareName The networkShare to set.
- */
- public void setShareName(String shareName, char driveLetter) {
- this.shareName = shareName;
- this.shareDriveLetter = driveLetter;
- }
-
- /**
- * @param relativePath The relativePath to set.
- */
- public void setRelativePath(String relativePath) {
- this.relativePath = relativePath;
- }
-
- /**
- * @param shortName The shortName to set.
- */
- public void setShortName(String shortName) {
- this.shortName = shortName;
- }
-
- /**
- * @param volumeLabel The volumeLabel to set.
- */
- public void setVolumeLabel(String volumeLabel) {
- this.volumeLabel = volumeLabel;
- }
-
- /**
- * @param volumeSerialNumber The volumeSerialNumber to set.
- */
- public void setVolumeSerialNumber(int volumeSerialNumber) {
- this.volumeSerialNumber = volumeSerialNumber;
- }
-
- /**
- * @param workingDirectory The workingDirectory to set.
- */
- public void setWorkingDirectory(String workingDirectory) {
- this.workingDirectory = workingDirectory;
- }
-
- public static void writeOsee(String shortcutName) throws IOException {
- writeFile(shortcutName, OSEE);
- }
-
- public static void writeOseeMs(String shortcutName) throws IOException {
- writeFile(shortcutName, OSEE_MS);
- }
-
- private static void writeFile(String name, byte[] data) throws IOException {
- File outfile = new File(name);
- FileOutputStream out;
- out = new FileOutputStream(outfile);
-
- ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
- byteOut.write(data);
- byteOut.writeTo(out);
- out.close();
- }
-
- public void write(String shortcutName) {
-
- File outfile = new File(shortcutName);
- FileOutputStream out;
- try {
- out = new FileOutputStream(outfile);
- } catch (FileNotFoundException ex) {
- ex.printStackTrace();
- return;
- }
-
- ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
- try {
- byteOut.write(MAGIC_VAL);
- byteOut.write(GUID);
- byteOut.write(getTheFlags());
- byteOut.write(getFileAttributes());
- byteOut.write(getTimeFields());
- byteOut.write(getFileLength());
- byteOut.write(getIconNumber());
- byteOut.write(getShowWnd());
- byteOut.write(getHotKey());
- byteOut.write(new byte[2 * DWORD]); // There is a 2 DWORD bubble in the format
- byteOut.write(getShellItemIdList());
- byteOut.write(getFileLocationInfo());
- if (description != null) {
- byteOut.write(getStringByteData(description));
- }
- if (relativePath != null) {
- byteOut.write(getStringByteData(relativePath));
- }
- if (workingDirectory != null) {
- byteOut.write(getStringByteData(workingDirectory));
- }
- if (commandLineArguments != null) {
- byteOut.write(getStringByteData(commandLineArguments));
- }
- if (iconFilename != null) {
- byteOut.write(getStringByteData(iconFilename));
- }
- byteOut.write(intToByteArray(0)); // End stuff ...
- byteOut.writeTo(out);
- out.close();
- } catch (IOException ex) {
- ex.printStackTrace();
- return;
- }
- }
-
- private byte[] getTheFlags() {
- // The flags field is one DWORD
- byte data[] = new byte[DWORD];
-
- // This will always be the case
- data[0] |= 1 << 0; // Points to a file or directory
-
- if (description != null) {
- data[0] |= 1 << 1; // Has a description string
- }
- if (relativePath != null) {
- data[0] |= 1 << 2; // Has a relative path string
- }
- if (workingDirectory != null) {
- data[0] |= 1 << 3; // Has a working directory string
- }
- if (commandLineArguments != null) {
- data[0] |= 1 << 4; // Has command line arguments
- }
- if (iconFilename != null) {
- data[0] |= 1 << 5; // Has a custom icon
- }
- return data;
- }
-
- private byte[] getFileAttributes() {
- // The file attributes field is one DWORD
- byte data[] = new byte[DWORD];
-
- // Nothing set here yet
-
- return data;
- }
-
- private byte[] getTimeFields() {
- // The 3 time fields are 64 bits each
- byte data[] = new byte[3 * 8];
-
- // Nothing to set here yet
-
- return data;
- }
-
- private byte[] getFileLength() {
- return intToByteArray(fileLength);
- }
-
- private byte[] getIconNumber() {
- return intToByteArray(iconNumber);
- }
-
- private byte[] getShowWnd() {
-
- // SW_NORMAL = 1
- // SW_SHOWMINIMIZED = 2
- // SW_SHOWMAXIMIXED = 3
- return intToByteArray(1);
- }
-
- private byte[] getHotKey() {
- // No hot key setting yet
- return intToByteArray(0);
- }
-
- private byte[] getShellItemIdList() {
-
- // First must acquire all items that go within the table
- byte shortNameString[] = getNullTerminatedBytes(shortName.getBytes());
- byte longNameString[] = getNullTerminatedBytes(longName.getBytes());
-
- // The table has 4.5 dword's in addition to the two strings
- byte data[] = new byte[(int) (4.5 * DWORD) + shortNameString.length + longNameString.length];
-
- // Put the length of the list (everything except this 2 bytes
- System.arraycopy(shortToByteArray((short) (data.length - 2)), 0, data, 0 * DWORD, 2);
-
- // Length of the first item (which is this whole block, minus one dword
- System.arraycopy(shortToByteArray((short) (data.length - DWORD)), 0, data, (int) (0.5 * DWORD), 2);
-
- System.arraycopy(shortToByteArray((short) 0x32), 0, data, 1 * DWORD, 2); // Some mystical
- // value
- System.arraycopy(intToByteArray(fileLength), 0, data, (int) (1.5 * DWORD), 4);
- System.arraycopy(intToByteArray(0x3E712576), 0, data, (int) (2.5 * DWORD), 4);// Some mystical
- // value
- System.arraycopy(shortToByteArray((short) 0x20), 0, data, (int) (3.5 * DWORD), 2);// Some
- // mystical
- // value
-
- // Place the longname string in now
- System.arraycopy(longNameString, 0, data, 4 * DWORD, longNameString.length);
-
- // Place the shortname string right after the longname
- System.arraycopy(shortNameString, 0, data, 4 * DWORD + longNameString.length, shortNameString.length);
-
- return data;
- }
-
- private byte[] getFileLocationInfo() {
- // First must acquire all tables that follow this structure
- byte localVolumeTable[] = getLocalVolumeTable();
- byte localPathString[] = localPath != null ? getNullTerminatedBytes(localPath.getBytes()) : new byte[0];
- byte networkVolumeTable[] = getNetworkVolumeTable();
- byte finalPathString[] = getNullTerminatedBytes(finalPath.getBytes());
-
- // The file attributes field is seven DWORD's, plus the structures above
- byte data[] =
- new byte[7 * DWORD + localVolumeTable.length + localPathString.length + networkVolumeTable.length + finalPathString.length];
-
- // This flag specifies whether local volume, and/or network volume data is available
- int flags = 0;
- if (localVolumeTable.length > 0) {
- flags |= 0x1;
- }
- if (networkVolumeTable.length > 0) {
- flags |= 0x2;
- }
-
- // Calculate the necessary offets
- int localVolumeOffset = 7 * DWORD;
- int localPathOffset = localVolumeOffset + localVolumeTable.length;
- int networkVolumeOffset = localPathOffset + localPathString.length;
- int finalPathOffset = networkVolumeOffset + networkVolumeTable.length;
-
- // Put the length value in the first dword
- System.arraycopy(intToByteArray(data.length), 0, data, 0 * DWORD, 4);
-
- // Write the following words
- System.arraycopy(intToByteArray(0x1C), 0, data, 1 * DWORD, 4); // First offset after this
- // structure
- System.arraycopy(intToByteArray(flags), 0, data, 2 * DWORD, 4);
- System.arraycopy(intToByteArray(localVolumeOffset), 0, data, 3 * DWORD, 4);
- System.arraycopy(intToByteArray(localPathOffset), 0, data, 4 * DWORD, 4);
- System.arraycopy(intToByteArray(networkVolumeOffset), 0, data, 5 * DWORD, 4);
- System.arraycopy(intToByteArray(finalPathOffset), 0, data, 6 * DWORD, 4);
-
- // Write the referenced blocks
- System.arraycopy(localVolumeTable, 0, data, localVolumeOffset, localVolumeTable.length);
- System.arraycopy(localPathString, 0, data, localPathOffset, localPathString.length);
- System.arraycopy(networkVolumeTable, 0, data, networkVolumeOffset, networkVolumeTable.length);
- System.arraycopy(finalPathString, 0, data, finalPathOffset, finalPathString.length);
-
- return data;
- }
-
- private byte[] getLocalVolumeTable() {
- // If missing the label then don't put it in
- if (volumeLabel == null) {
- return new byte[0];
- }
-
- byte volumeLabelString[] = getNullTerminatedBytes(volumeLabel.getBytes());
-
- // The first 4 dword's are static, then there is the volume label string
- byte data[] = new byte[4 * DWORD + volumeLabelString.length];
-
- // Put the length value in the first dword
- System.arraycopy(intToByteArray((short) data.length), 0, data, 0 * DWORD, 4);
-
- // Write the following words
- System.arraycopy(intToByteArray(driveType.getValue()), 0, data, 1 * DWORD, 4);
- System.arraycopy(intToByteArray(volumeSerialNumber), 0, data, 2 * DWORD, 4);
- System.arraycopy(intToByteArray(0x10), 0, data, 3 * DWORD, 4);
-
- // Place the string right after that
- System.arraycopy(volumeLabelString, 0, data, 4 * DWORD, volumeLabelString.length);
-
- return data;
- }
-
- private byte[] getNetworkVolumeTable() {
- // If the network share is null, then no table
- if (shareName == null) {
- return new byte[0];
- }
-
- byte networkShareString[] = getNullTerminatedBytes(shareName.getBytes());
-
- // The first 5 dword's are static, then there is the network share name, and drive letter
- byte data[] = new byte[5 * DWORD + networkShareString.length + 3];
-
- // Put the length value in the first dword
- System.arraycopy(intToByteArray(data.length), 0, data, 0 * DWORD, 4);
-
- // Write the following words
- System.arraycopy(intToByteArray(0x2), 0, data, 1 * DWORD, 4);
- System.arraycopy(intToByteArray(0x14), 0, data, 2 * DWORD, 4);
- System.arraycopy(intToByteArray(0x0), 0, data, 3 * DWORD, 4);
- System.arraycopy(intToByteArray(0x200), 0, data, 4 * DWORD, 4);
-
- // Place the string right after that, then drive letter
- System.arraycopy(networkShareString, 0, data, 5 * DWORD, networkShareString.length);
- System.arraycopy(new byte[] {(byte) shareDriveLetter, ':'}, 0, data, data.length - 3, 2);
-
- return data;
- }
-
- private byte[] getStringByteData(String theString) {
- byte data[] = null;
-
- if (theString != null) {
- byte string[] = getNullTerminatedBytes(theString.getBytes());
-
- // The first 2 bytes tell the size of the string
- // The following space is the string itself
- data = new byte[2 + string.length];
-
- // Put the length value in the first 2 bytes
- System.arraycopy(shortToByteArray((short) string.length), 0, data, 0, 2);
-
- // Place the string right after that
- System.arraycopy(string, 0, data, 2, string.length);
- }
-
- return data;
- }
-
- private byte[] getNullTerminatedBytes(byte string[]) {
- // Need an array one larger for the null terminator
- byte data[] = new byte[string.length + 1];
-
- // Place the string into the new array
- System.arraycopy(string, 0, data, 0, string.length);
-
- return data;
- }
-
- private byte[] shortToByteArray(short val) {
- byte data[] = new byte[2];
-
- for (int i = 0; i < 2; i++) {
- data[i] = (byte) (0xFF & val >> i * 8);
- }
-
- return data;
- }
-
- private byte[] intToByteArray(int val) {
- byte data[] = new byte[4];
-
- // 32 bit values seem to be in reverse order
- for (int i = 0; i < 4; i++) {
- data[i] = (byte) (0xFF & val >> i * 8);
- }
-
- return data;
- }
-
- // This is the binary for the OSEE lnk ;-)
- private static final byte OSEE[] = new byte[] {
- (byte) 0x4C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x01,
- (byte) 0x14,
- (byte) 0x02,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xC0,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x46,
- (byte) 0xFB,
- (byte) 0x02,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x20,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x54,
- (byte) 0x20,
- (byte) 0x6E,
- (byte) 0x73,
- (byte) 0x3B,
- (byte) 0xF8,
- (byte) 0xC4,
- (byte) 0x01,
- (byte) 0xEE,
- (byte) 0xDF,
- (byte) 0x76,
- (byte) 0x9A,
- (byte) 0xD4,
- (byte) 0x83,
- (byte) 0xC5,
- (byte) 0x01,
- (byte) 0x7C,
- (byte) 0xF6,
- (byte) 0xA1,
- (byte) 0x69,
- (byte) 0x3B,
- (byte) 0xF8,
- (byte) 0xC4,
- (byte) 0x01,
- (byte) 0x5F,
- (byte) 0xC0,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x75,
- (byte) 0x00,
- (byte) 0x14,
- (byte) 0x00,
- (byte) 0x1F,
- (byte) 0x50,
- (byte) 0xE0,
- (byte) 0x4F,
- (byte) 0xD0,
- (byte) 0x20,
- (byte) 0xEA,
- (byte) 0x3A,
- (byte) 0x69,
- (byte) 0x10,
- (byte) 0xA2,
- (byte) 0xD8,
- (byte) 0x08,
- (byte) 0x00,
- (byte) 0x2B,
- (byte) 0x30,
- (byte) 0x30,
- (byte) 0x9D,
- (byte) 0x19,
- (byte) 0x00,
- (byte) 0x23,
- (byte) 0x43,
- (byte) 0x3A,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x91,
- (byte) 0x65,
- (byte) 0x15,
- (byte) 0x00,
- (byte) 0x31,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xF3,
- (byte) 0x32,
- (byte) 0xCA,
- (byte) 0x7D,
- (byte) 0x30,
- (byte) 0x00,
- (byte) 0x57,
- (byte) 0x49,
- (byte) 0x4E,
- (byte) 0x4E,
- (byte) 0x54,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x18,
- (byte) 0x00,
- (byte) 0x31,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0x32,
- (byte) 0xE1,
- (byte) 0x6A,
- (byte) 0x30,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x79,
- (byte) 0x73,
- (byte) 0x74,
- (byte) 0x65,
- (byte) 0x6D,
- (byte) 0x33,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x19,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5F,
- (byte) 0xC0,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x2C,
- (byte) 0x32,
- (byte) 0x91,
- (byte) 0x01,
- (byte) 0x20,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x61,
- (byte) 0x76,
- (byte) 0x61,
- (byte) 0x77,
- (byte) 0x2E,
- (byte) 0x65,
- (byte) 0x78,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x51,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x1C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x1C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x34,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x1C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x50,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x18,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xC9,
- (byte) 0x72,
- (byte) 0x53,
- (byte) 0xAC,
- (byte) 0x10,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x32,
- (byte) 0x38,
- (byte) 0x32,
- (byte) 0x32,
- (byte) 0x30,
- (byte) 0x34,
- (byte) 0x00,
- (byte) 0x43,
- (byte) 0x3A,
- (byte) 0x5C,
- (byte) 0x57,
- (byte) 0x49,
- (byte) 0x4E,
- (byte) 0x4E,
- (byte) 0x54,
- (byte) 0x5C,
- (byte) 0x73,
- (byte) 0x79,
- (byte) 0x73,
- (byte) 0x74,
- (byte) 0x65,
- (byte) 0x6D,
- (byte) 0x33,
- (byte) 0x32,
- (byte) 0x5C,
- (byte) 0x6A,
- (byte) 0x61,
- (byte) 0x76,
- (byte) 0x61,
- (byte) 0x77,
- (byte) 0x2E,
- (byte) 0x65,
- (byte) 0x78,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x21,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x57,
- (byte) 0x00,
- (byte) 0x49,
- (byte) 0x00,
- (byte) 0x4E,
- (byte) 0x00,
- (byte) 0x4E,
- (byte) 0x00,
- (byte) 0x54,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x00,
- (byte) 0x79,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x00,
- (byte) 0x74,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x6D,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x76,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x78,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x12,
- (byte) 0x00,
- (byte) 0x59,
- (byte) 0x00,
- (byte) 0x3A,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x69,
- (byte) 0x00,
- (byte) 0x6E,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x29,
- (byte) 0x00,
- (byte) 0x2D,
- (byte) 0x00,
- (byte) 0x58,
- (byte) 0x00,
- (byte) 0x6D,
- (byte) 0x00,
- (byte) 0x78,
- (byte) 0x00,
- (byte) 0x35,
- (byte) 0x00,
- (byte) 0x31,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x4D,
- (byte) 0x00,
- (byte) 0x20,
- (byte) 0x00,
- (byte) 0x2D,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x72,
- (byte) 0x00,
- (byte) 0x20,
- (byte) 0x00,
- (byte) 0x59,
- (byte) 0x00,
- (byte) 0x3A,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x69,
- (byte) 0x00,
- (byte) 0x6E,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x72,
- (byte) 0x00,
- (byte) 0x1B,
- (byte) 0x00,
- (byte) 0x59,
- (byte) 0x00,
- (byte) 0x3A,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x69,
- (byte) 0x00,
- (byte) 0x6E,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x69,
- (byte) 0x00,
- (byte) 0x63,
- (byte) 0x00,
- (byte) 0x6F,
- (byte) 0x00,
- (byte) 0x14,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xA0,
- (byte) 0x25,
- (byte) 0x53,
- (byte) 0x79,
- (byte) 0x73,
- (byte) 0x74,
- (byte) 0x65,
- (byte) 0x6D,
- (byte) 0x52,
- (byte) 0x6F,
- (byte) 0x6F,
- (byte) 0x74,
- (byte) 0x25,
- (byte) 0x5C,
- (byte) 0x73,
- (byte) 0x79,
- (byte) 0x73,
- (byte) 0x74,
- (byte) 0x65,
- (byte) 0x6D,
- (byte) 0x33,
- (byte) 0x32,
- (byte) 0x5C,
- (byte) 0x6A,
- (byte) 0x61,
- (byte) 0x76,
- (byte) 0x61,
- (byte) 0x77,
- (byte) 0x2E,
- (byte) 0x65,
- (byte) 0x78,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x4C,
- (byte) 0x82,
- (byte) 0x57,
- (byte) 0x7C,
- (byte) 0x7B,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xC0,
- (byte) 0x78,
- (byte) 0x74,
- (byte) 0x58,
- (byte) 0x7C,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xC0,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xC3,
- (byte) 0x52,
- (byte) 0x58,
- (byte) 0x7C,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x18,
- (byte) 0xEB,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xFC,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xDC,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x01,
- (byte) 0x6C,
- (byte) 0x41,
- (byte) 0xB9,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x18,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xF0,
- (byte) 0x08,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x3C,
- (byte) 0xEB,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x40,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x92,
- (byte) 0x00,
- (byte) 0x92,
- (byte) 0x00,
- (byte) 0xB6,
- (byte) 0xE8,
- (byte) 0x56,
- (byte) 0x04,
- (byte) 0xF0,
- (byte) 0x08,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x92,
- (byte) 0x00,
- (byte) 0x92,
- (byte) 0x00,
- (byte) 0xB6,
- (byte) 0xE8,
- (byte) 0x56,
- (byte) 0x04,
- (byte) 0x64,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x5B,
- (byte) 0xDA,
- (byte) 0xA9,
- (byte) 0x70,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xDC,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xD8,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x7C,
- (byte) 0xEB,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x13,
- (byte) 0x50,
- (byte) 0xE2,
- (byte) 0x77,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xDC,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x98,
- (byte) 0xEB,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xF0,
- (byte) 0x21,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xDC,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xF4,
- (byte) 0xEB,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x6F,
- (byte) 0x27,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xDC,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x9B,
- (byte) 0x27,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0x25,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x79,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x00,
- (byte) 0x74,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x6D,
- (byte) 0x00,
- (byte) 0x52,
- (byte) 0x00,
- (byte) 0x6F,
- (byte) 0x00,
- (byte) 0x6F,
- (byte) 0x00,
- (byte) 0x74,
- (byte) 0x00,
- (byte) 0x25,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x00,
- (byte) 0x79,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x00,
- (byte) 0x74,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x6D,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x76,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x78,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x18,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x74,
- (byte) 0x25,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0x20,
- (byte) 0xFC,
- (byte) 0x51,
- (byte) 0x04,
- (byte) 0x7A,
- (byte) 0xF2,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x07,
- (byte) 0x00,
- (byte) 0x54,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xD0,
- (byte) 0x57,
- (byte) 0xF8,
- (byte) 0x77,
- (byte) 0xEC,
- (byte) 0x57,
- (byte) 0xF8,
- (byte) 0x77,
- (byte) 0x08,
- (byte) 0x06,
- (byte) 0x07,
- (byte) 0x00,
- (byte) 0x30,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x01,
- (byte) 0x05,
- (byte) 0x96,
- (byte) 0x57,
- (byte) 0x7C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x07,
- (byte) 0x00,
- (byte) 0x7A,
- (byte) 0xF2,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xE8,
- (byte) 0x3C,
- (byte) 0x0F,
- (byte) 0x00,
- (byte) 0x49,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x30,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x01,
- (byte) 0x30,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x24,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE0,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x44,
- (byte) 0x1F,
- (byte) 0x5C,
- (byte) 0x7C,
- (byte) 0x50,
- (byte) 0x24,
- (byte) 0x57,
- (byte) 0x7C,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0x78,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x30,
- (byte) 0x77,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0x34,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x01,
- (byte) 0x87,
- (byte) 0x78,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0x34,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x2F,
- (byte) 0x78,
- (byte) 0xB2,
- (byte) 0xFC,
- (byte) 0x51,
- (byte) 0x04,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x90,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x0A,
- (byte) 0x78,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0xE8,
- (byte) 0x3C,
- (byte) 0x0F,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0x3C,
- (byte) 0x0F,
- (byte) 0x00,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0xCC,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x05,
- (byte) 0x7B,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0xE8,
- (byte) 0x3C,
- (byte) 0x0F,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xA8,
- (byte) 0x19,
- (byte) 0x2F,
- (byte) 0x00,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x20,
- (byte) 0x34,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0x08,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x76,
- (byte) 0x26,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x49,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xF0,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xD7,
- (byte) 0x79,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xA8,
- (byte) 0x19,
- (byte) 0x2F,
- (byte) 0x00,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x14,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xFC,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x34,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xD0,
- (byte) 0xA3,
- (byte) 0xE3,
- (byte) 0x77,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0xCD,
- (byte) 0xAB,
- (byte) 0xBA,
- (byte) 0xDC,
- (byte) 0x58,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xA6,
- (byte) 0x52,
- (byte) 0x58,
- (byte) 0x7C,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0x0C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x50,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xEF,
- (byte) 0x52,
- (byte) 0x58,
- (byte) 0x7C,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0x0C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x60,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x04,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x80,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xA4,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x75,
- (byte) 0x4E,
- (byte) 0xAA,
- (byte) 0x70,
- (byte) 0x01,
- (byte) 0x80,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xD8,
- (byte) 0x8F,
- (byte) 0x52,
- (byte) 0x04,
- (byte) 0xF0,
- (byte) 0x21,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xF0,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x6F,
- (byte) 0x27,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x9B,
- (byte) 0x27,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0xD4,
- (byte) 0xEE,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x80,
- (byte) 0x04,
- (byte) 0x52,
- (byte) 0x04,
- (byte) 0x60,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xA0,
- (byte) 0x58,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x32,
- (byte) 0x38,
- (byte) 0x32,
- (byte) 0x32,
- (byte) 0x30,
- (byte) 0x34,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x06,
- (byte) 0xA0,
- (byte) 0x78,
- (byte) 0xF9,
- (byte) 0x08,
- (byte) 0x80,
- (byte) 0xFF,
- (byte) 0x4E,
- (byte) 0x9C,
- (byte) 0x47,
- (byte) 0xF1,
- (byte) 0xD0,
- (byte) 0x77,
- (byte) 0xFE,
- (byte) 0x54,
- (byte) 0xB6,
- (byte) 0x46,
- (byte) 0x18,
- (byte) 0x99,
- (byte) 0x1F,
- (byte) 0xA2,
- (byte) 0xE1,
- (byte) 0xD9,
- (byte) 0x11,
- (byte) 0x86,
- (byte) 0xC3,
- (byte) 0x00,
- (byte) 0x0F,
- (byte) 0x1F,
- (byte) 0xD8,
- (byte) 0x1B,
- (byte) 0x0F,
- (byte) 0x06,
- (byte) 0xA0,
- (byte) 0x78,
- (byte) 0xF9,
- (byte) 0x08,
- (byte) 0x80,
- (byte) 0xFF,
- (byte) 0x4E,
- (byte) 0x9C,
- (byte) 0x47,
- (byte) 0xF1,
- (byte) 0xD0,
- (byte) 0x77,
- (byte) 0xFE,
- (byte) 0x54,
- (byte) 0xB6,
- (byte) 0x46,
- (byte) 0x18,
- (byte) 0x99,
- (byte) 0x1F,
- (byte) 0xA2,
- (byte) 0xE1,
- (byte) 0xD9,
- (byte) 0x11,
- (byte) 0x86,
- (byte) 0xC3,
- (byte) 0x00,
- (byte) 0x0F,
- (byte) 0x1F,
- (byte) 0xD8,
- (byte) 0x1B,
- (byte) 0x0F,
- (byte) 0x10,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x05,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xA0,
- (byte) 0x24,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x42,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00};
-
- // This is the binary for the OSEE_MS lnk ;-)
- private static final byte[] OSEE_MS = new byte[] {
- (byte) 0x4C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x01,
- (byte) 0x14,
- (byte) 0x02,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xC0,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x46,
- (byte) 0xFB,
- (byte) 0x02,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x20,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x54,
- (byte) 0x20,
- (byte) 0x6E,
- (byte) 0x73,
- (byte) 0x3B,
- (byte) 0xF8,
- (byte) 0xC4,
- (byte) 0x01,
- (byte) 0xAB,
- (byte) 0x00,
- (byte) 0xE4,
- (byte) 0x8F,
- (byte) 0xA2,
- (byte) 0x9E,
- (byte) 0xC5,
- (byte) 0x01,
- (byte) 0x7C,
- (byte) 0xF6,
- (byte) 0xA1,
- (byte) 0x69,
- (byte) 0x3B,
- (byte) 0xF8,
- (byte) 0xC4,
- (byte) 0x01,
- (byte) 0x5F,
- (byte) 0xC0,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x9E,
- (byte) 0x00,
- (byte) 0x14,
- (byte) 0x00,
- (byte) 0x1F,
- (byte) 0x50,
- (byte) 0xE0,
- (byte) 0x4F,
- (byte) 0xD0,
- (byte) 0x20,
- (byte) 0xEA,
- (byte) 0x3A,
- (byte) 0x69,
- (byte) 0x10,
- (byte) 0xA2,
- (byte) 0xD8,
- (byte) 0x08,
- (byte) 0x00,
- (byte) 0x2B,
- (byte) 0x30,
- (byte) 0x30,
- (byte) 0x9D,
- (byte) 0x19,
- (byte) 0x00,
- (byte) 0x23,
- (byte) 0x43,
- (byte) 0x3A,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x91,
- (byte) 0x65,
- (byte) 0x15,
- (byte) 0x00,
- (byte) 0x31,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x17,
- (byte) 0x33,
- (byte) 0xB5,
- (byte) 0xBB,
- (byte) 0x30,
- (byte) 0x00,
- (byte) 0x57,
- (byte) 0x49,
- (byte) 0x4E,
- (byte) 0x4E,
- (byte) 0x54,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x18,
- (byte) 0x00,
- (byte) 0x31,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x08,
- (byte) 0x33,
- (byte) 0x1D,
- (byte) 0x6E,
- (byte) 0x30,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x79,
- (byte) 0x73,
- (byte) 0x74,
- (byte) 0x65,
- (byte) 0x6D,
- (byte) 0x33,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x42,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5F,
- (byte) 0xC0,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE5,
- (byte) 0x32,
- (byte) 0x10,
- (byte) 0x89,
- (byte) 0x20,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x61,
- (byte) 0x76,
- (byte) 0x61,
- (byte) 0x77,
- (byte) 0x2E,
- (byte) 0x65,
- (byte) 0x78,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x2A,
- (byte) 0x00,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x00,
- (byte) 0xEF,
- (byte) 0xBE,
- (byte) 0xE5,
- (byte) 0x32,
- (byte) 0x19,
- (byte) 0x89,
- (byte) 0x04,
- (byte) 0x33,
- (byte) 0x60,
- (byte) 0x8D,
- (byte) 0x14,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x76,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x78,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x18,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x4C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x1C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x1C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x2D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x4B,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x11,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x34,
- (byte) 0xCC,
- (byte) 0xE0,
- (byte) 0x84,
- (byte) 0x10,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x43,
- (byte) 0x3A,
- (byte) 0x5C,
- (byte) 0x57,
- (byte) 0x49,
- (byte) 0x4E,
- (byte) 0x44,
- (byte) 0x4F,
- (byte) 0x57,
- (byte) 0x53,
- (byte) 0x5C,
- (byte) 0x73,
- (byte) 0x79,
- (byte) 0x73,
- (byte) 0x74,
- (byte) 0x65,
- (byte) 0x6D,
- (byte) 0x33,
- (byte) 0x32,
- (byte) 0x5C,
- (byte) 0x6A,
- (byte) 0x61,
- (byte) 0x76,
- (byte) 0x61,
- (byte) 0x77,
- (byte) 0x2E,
- (byte) 0x65,
- (byte) 0x78,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x1A,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x57,
- (byte) 0x00,
- (byte) 0x49,
- (byte) 0x00,
- (byte) 0x4E,
- (byte) 0x00,
- (byte) 0x4E,
- (byte) 0x00,
- (byte) 0x54,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x00,
- (byte) 0x79,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x00,
- (byte) 0x74,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x6D,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x76,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x78,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x15,
- (byte) 0x00,
- (byte) 0x59,
- (byte) 0x00,
- (byte) 0x3A,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x69,
- (byte) 0x00,
- (byte) 0x6E,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5F,
- (byte) 0x00,
- (byte) 0x4D,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x2C,
- (byte) 0x00,
- (byte) 0x2D,
- (byte) 0x00,
- (byte) 0x58,
- (byte) 0x00,
- (byte) 0x6D,
- (byte) 0x00,
- (byte) 0x78,
- (byte) 0x00,
- (byte) 0x35,
- (byte) 0x00,
- (byte) 0x31,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x4D,
- (byte) 0x00,
- (byte) 0x20,
- (byte) 0x00,
- (byte) 0x2D,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x72,
- (byte) 0x00,
- (byte) 0x20,
- (byte) 0x00,
- (byte) 0x59,
- (byte) 0x00,
- (byte) 0x3A,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x69,
- (byte) 0x00,
- (byte) 0x6E,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5F,
- (byte) 0x00,
- (byte) 0x4D,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x72,
- (byte) 0x00,
- (byte) 0x1B,
- (byte) 0x00,
- (byte) 0x59,
- (byte) 0x00,
- (byte) 0x3A,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x69,
- (byte) 0x00,
- (byte) 0x6E,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x4F,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x45,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x69,
- (byte) 0x00,
- (byte) 0x63,
- (byte) 0x00,
- (byte) 0x6F,
- (byte) 0x00,
- (byte) 0x14,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xA0,
- (byte) 0x25,
- (byte) 0x53,
- (byte) 0x79,
- (byte) 0x73,
- (byte) 0x74,
- (byte) 0x65,
- (byte) 0x6D,
- (byte) 0x52,
- (byte) 0x6F,
- (byte) 0x6F,
- (byte) 0x74,
- (byte) 0x25,
- (byte) 0x5C,
- (byte) 0x73,
- (byte) 0x79,
- (byte) 0x73,
- (byte) 0x74,
- (byte) 0x65,
- (byte) 0x6D,
- (byte) 0x33,
- (byte) 0x32,
- (byte) 0x5C,
- (byte) 0x6A,
- (byte) 0x61,
- (byte) 0x76,
- (byte) 0x61,
- (byte) 0x77,
- (byte) 0x2E,
- (byte) 0x65,
- (byte) 0x78,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x4C,
- (byte) 0x82,
- (byte) 0x57,
- (byte) 0x7C,
- (byte) 0x7B,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xC0,
- (byte) 0x78,
- (byte) 0x74,
- (byte) 0x58,
- (byte) 0x7C,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xC0,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xC3,
- (byte) 0x52,
- (byte) 0x58,
- (byte) 0x7C,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x18,
- (byte) 0xEB,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xFC,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xDC,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x01,
- (byte) 0x6C,
- (byte) 0x41,
- (byte) 0xB9,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x18,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xF0,
- (byte) 0x08,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x3C,
- (byte) 0xEB,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x40,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x92,
- (byte) 0x00,
- (byte) 0x92,
- (byte) 0x00,
- (byte) 0xB6,
- (byte) 0xE8,
- (byte) 0x56,
- (byte) 0x04,
- (byte) 0xF0,
- (byte) 0x08,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x92,
- (byte) 0x00,
- (byte) 0x92,
- (byte) 0x00,
- (byte) 0xB6,
- (byte) 0xE8,
- (byte) 0x56,
- (byte) 0x04,
- (byte) 0x64,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x5B,
- (byte) 0xDA,
- (byte) 0xA9,
- (byte) 0x70,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xDC,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xD8,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x7C,
- (byte) 0xEB,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x13,
- (byte) 0x50,
- (byte) 0xE2,
- (byte) 0x77,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xDC,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x98,
- (byte) 0xEB,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xF0,
- (byte) 0x21,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xDC,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xF4,
- (byte) 0xEB,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x6F,
- (byte) 0x27,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xDC,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x9B,
- (byte) 0x27,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0x25,
- (byte) 0x00,
- (byte) 0x53,
- (byte) 0x00,
- (byte) 0x79,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x00,
- (byte) 0x74,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x6D,
- (byte) 0x00,
- (byte) 0x52,
- (byte) 0x00,
- (byte) 0x6F,
- (byte) 0x00,
- (byte) 0x6F,
- (byte) 0x00,
- (byte) 0x74,
- (byte) 0x00,
- (byte) 0x25,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x00,
- (byte) 0x79,
- (byte) 0x00,
- (byte) 0x73,
- (byte) 0x00,
- (byte) 0x74,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x6D,
- (byte) 0x00,
- (byte) 0x33,
- (byte) 0x00,
- (byte) 0x32,
- (byte) 0x00,
- (byte) 0x5C,
- (byte) 0x00,
- (byte) 0x6A,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x76,
- (byte) 0x00,
- (byte) 0x61,
- (byte) 0x00,
- (byte) 0x77,
- (byte) 0x00,
- (byte) 0x2E,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x78,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x18,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x74,
- (byte) 0x25,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0x20,
- (byte) 0xFC,
- (byte) 0x51,
- (byte) 0x04,
- (byte) 0x7A,
- (byte) 0xF2,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x07,
- (byte) 0x00,
- (byte) 0x54,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xD0,
- (byte) 0x57,
- (byte) 0xF8,
- (byte) 0x77,
- (byte) 0xEC,
- (byte) 0x57,
- (byte) 0xF8,
- (byte) 0x77,
- (byte) 0x08,
- (byte) 0x06,
- (byte) 0x07,
- (byte) 0x00,
- (byte) 0x30,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x01,
- (byte) 0x05,
- (byte) 0x96,
- (byte) 0x57,
- (byte) 0x7C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x07,
- (byte) 0x00,
- (byte) 0x7A,
- (byte) 0xF2,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xE8,
- (byte) 0x3C,
- (byte) 0x0F,
- (byte) 0x00,
- (byte) 0x49,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x30,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x01,
- (byte) 0x30,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x24,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE0,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x44,
- (byte) 0x1F,
- (byte) 0x5C,
- (byte) 0x7C,
- (byte) 0x50,
- (byte) 0x24,
- (byte) 0x57,
- (byte) 0x7C,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0x78,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x30,
- (byte) 0x77,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0x34,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x01,
- (byte) 0x87,
- (byte) 0x78,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0x34,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x2F,
- (byte) 0x78,
- (byte) 0xB2,
- (byte) 0xFC,
- (byte) 0x51,
- (byte) 0x04,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x90,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x0A,
- (byte) 0x78,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0xE8,
- (byte) 0x3C,
- (byte) 0x0F,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0x3C,
- (byte) 0x0F,
- (byte) 0x00,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0xCC,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x05,
- (byte) 0x7B,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0xE8,
- (byte) 0x3C,
- (byte) 0x0F,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xA8,
- (byte) 0x19,
- (byte) 0x2F,
- (byte) 0x00,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x20,
- (byte) 0x34,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0x08,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x76,
- (byte) 0x26,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x49,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xF0,
- (byte) 0xEC,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xD7,
- (byte) 0x79,
- (byte) 0xE1,
- (byte) 0x77,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xA8,
- (byte) 0x19,
- (byte) 0x2F,
- (byte) 0x00,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x14,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xFC,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x30,
- (byte) 0x75,
- (byte) 0x48,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x34,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xD0,
- (byte) 0xA3,
- (byte) 0xE3,
- (byte) 0x77,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0xCD,
- (byte) 0xAB,
- (byte) 0xBA,
- (byte) 0xDC,
- (byte) 0x58,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xA6,
- (byte) 0x52,
- (byte) 0x58,
- (byte) 0x7C,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0x0C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x50,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xEF,
- (byte) 0x52,
- (byte) 0x58,
- (byte) 0x7C,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0xFF,
- (byte) 0x0C,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x60,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x04,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x80,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xA4,
- (byte) 0xEF,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x75,
- (byte) 0x4E,
- (byte) 0xAA,
- (byte) 0x70,
- (byte) 0x01,
- (byte) 0x80,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xD8,
- (byte) 0x8F,
- (byte) 0x52,
- (byte) 0x04,
- (byte) 0xF0,
- (byte) 0x21,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0xB3,
- (byte) 0x5F,
- (byte) 0xE4,
- (byte) 0x77,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0xF0,
- (byte) 0xED,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x6F,
- (byte) 0x27,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0x7A,
- (byte) 0x03,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x0D,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x04,
- (byte) 0x01,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xE8,
- (byte) 0xF1,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x9B,
- (byte) 0x27,
- (byte) 0x75,
- (byte) 0x71,
- (byte) 0xD4,
- (byte) 0xEE,
- (byte) 0xE3,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x80,
- (byte) 0x04,
- (byte) 0x52,
- (byte) 0x04,
- (byte) 0x60,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x03,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xA0,
- (byte) 0x58,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x65,
- (byte) 0x32,
- (byte) 0x38,
- (byte) 0x32,
- (byte) 0x32,
- (byte) 0x30,
- (byte) 0x34,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x06,
- (byte) 0xA0,
- (byte) 0x78,
- (byte) 0xF9,
- (byte) 0x08,
- (byte) 0x80,
- (byte) 0xFF,
- (byte) 0x4E,
- (byte) 0x9C,
- (byte) 0x47,
- (byte) 0xF1,
- (byte) 0xD0,
- (byte) 0x77,
- (byte) 0xFE,
- (byte) 0x54,
- (byte) 0xB6,
- (byte) 0x46,
- (byte) 0x18,
- (byte) 0x99,
- (byte) 0x1F,
- (byte) 0xA2,
- (byte) 0xE1,
- (byte) 0xD9,
- (byte) 0x11,
- (byte) 0x86,
- (byte) 0xC3,
- (byte) 0x00,
- (byte) 0x0F,
- (byte) 0x1F,
- (byte) 0xD8,
- (byte) 0x1B,
- (byte) 0x0F,
- (byte) 0x06,
- (byte) 0xA0,
- (byte) 0x78,
- (byte) 0xF9,
- (byte) 0x08,
- (byte) 0x80,
- (byte) 0xFF,
- (byte) 0x4E,
- (byte) 0x9C,
- (byte) 0x47,
- (byte) 0xF1,
- (byte) 0xD0,
- (byte) 0x77,
- (byte) 0xFE,
- (byte) 0x54,
- (byte) 0xB6,
- (byte) 0x46,
- (byte) 0x18,
- (byte) 0x99,
- (byte) 0x1F,
- (byte) 0xA2,
- (byte) 0xE1,
- (byte) 0xD9,
- (byte) 0x11,
- (byte) 0x86,
- (byte) 0xC3,
- (byte) 0x00,
- (byte) 0x0F,
- (byte) 0x1F,
- (byte) 0xD8,
- (byte) 0x1B,
- (byte) 0x0F,
- (byte) 0x10,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x05,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0xA0,
- (byte) 0x24,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x42,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00,
- (byte) 0x00};
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/Zip.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/Zip.java
deleted file mode 100644
index 067defd850..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/Zip.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.io;
-
-import java.io.BufferedInputStream;
-import java.io.BufferedOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.util.Enumeration;
-import java.util.zip.ZipEntry;
-import java.util.zip.ZipFile;
-import java.util.zip.ZipOutputStream;
-import org.eclipse.osee.framework.jdk.core.util.Lib;
-
-public class Zip {
-
- public static void zip(String[] filenames, String outFilename) {
- // These are the files to include in the ZIP file
- // String[] filenames = new String[]{"filename1", "filename2"};
-
- // Create a buffer for reading the files
- byte[] buf = new byte[1024];
-
- try {
- // Create the ZIP file
- ZipOutputStream out = new ZipOutputStream(new FileOutputStream(outFilename));
-
- // Compress the files
- for (int i = 0; i < filenames.length; i++) {
- FileInputStream in = new FileInputStream(filenames[i]);
-
- // Add ZIP entry to output stream.
- out.putNextEntry(new ZipEntry(filenames[i]));
-
- // Transfer bytes from the file to the ZIP file
- int len;
- while ((len = in.read(buf)) > 0) {
- out.write(buf, 0, len);
- }
-
- // Complete the entry
- out.closeEntry();
- in.close();
- }
-
- // Complete the ZIP file
- out.close();
- } catch (IOException e) {
- // do nothing
- }
-
- }
-
- public static void unzip(File zipFile, File destinationDir, IZipEntryCompleteCallback progressBar) throws IOException {
- int BUFFER = 2048;
- BufferedOutputStream dest = null;
- BufferedInputStream is = null;
- ZipEntry entry = null;
-
- try {
- ZipFile zipfile = new ZipFile(zipFile.getAbsolutePath());
- progressBar.setValue(0);
- progressBar.setMinimum(0);
- progressBar.setMaximum(zipfile.size());
- System.out.println(zipfile.size());
- Enumeration<? extends ZipEntry> e = zipfile.entries();
- int size = 0;
- while (e.hasMoreElements()) {
- entry = e.nextElement();
- is = new BufferedInputStream(zipfile.getInputStream(entry));
- int count;
- byte data[] = new byte[BUFFER];
- File fileDir = new File(destinationDir.getAbsolutePath() + File.separator + entry.getName());
- if (entry.isDirectory()) {
- fileDir.mkdirs();
- progressBar.setValue(++size);
- continue;
- } else {
- fileDir.getParentFile().mkdirs();
- }
-
- if (!fileDir.exists() || fileDir.exists() && fileDir.canWrite()) {
- FileOutputStream fos = new FileOutputStream(fileDir.getAbsolutePath());
- dest = new BufferedOutputStream(fos, BUFFER);
- while ((count = is.read(data, 0, BUFFER)) != -1) {
- dest.write(data, 0, count);
- }
- dest.flush();
- dest.close();
- }
-
- is.close();
-
- if (fileDir.getAbsolutePath().endsWith(".lnk")) {
- if (fileDir.canWrite()) {
- fileDir.setReadOnly();
- }
- }
- progressBar.setValue(++size);
- }
- } catch (RuntimeException ex) {
- String information =
- "ZipFile: " + (zipFile != null ? zipFile.getAbsolutePath() : "NULL") + "\n" + "DestinationDir: " + (destinationDir != null ? destinationDir.getAbsolutePath() : "NULL") + "\n" + "Entry Processed: " + (entry != null ? entry.toString() : "NULL") + "\n";
- Lib.close(is);
- throw new IOException(information + ex.getMessage());
- }
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/streams/StreamCatcher.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/streams/StreamCatcher.java
deleted file mode 100644
index 2b789b48b1..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/streams/StreamCatcher.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.io.streams;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-/**
- * @author Jeff C. Phillips
- */
-@Deprecated
-public class StreamCatcher extends Thread {
- private final InputStream is;
- private final String type;
- private final Logger logger;
-
- public StreamCatcher(InputStream is, String type) {
- this(is, type, null);
- }
-
- public StreamCatcher(InputStream is, String type, Logger logger) {
- this.is = is;
- this.type = type;
- this.logger = logger;
- }
-
- @Override
- public void run() {
- try {
- InputStreamReader isr = new InputStreamReader(is);
- BufferedReader br = new BufferedReader(isr);
- String line = null;
- StringBuilder loggerError = new StringBuilder();
-
- while ((line = br.readLine()) != null) {
-
- if (logger == null) {
- System.out.println(type + ">" + line);
- } else {
- loggerError.append(line);
- loggerError.append("\n");
- }
- }
-
- if (logger != null && loggerError.length() > 0) {
- logger.log(Level.SEVERE, loggerError.toString());
- }
-
- } catch (IOException ioe) {
- ioe.printStackTrace();
- }
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XMLStreamWriterPrettyPrint.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XMLStreamWriterPrettyPrint.java
deleted file mode 100644
index 67c0cf11ee..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XMLStreamWriterPrettyPrint.java
+++ /dev/null
@@ -1,226 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-
-public class XMLStreamWriterPrettyPrint implements XMLStreamWriter {
-
- private static final String[] spaces;
-
- static {
- int count = 200;
- spaces = new String[count];
- for (int i = 0; i < count; i++) {
- spaces[i] = new String("\n");
- for (int j = 0; j < i; j++) {
- spaces[i] += " ";
- }
- }
- }
-
- private final XMLStreamWriter writer;
- private int indent = 0;
-
- public XMLStreamWriterPrettyPrint(XMLStreamWriter writer) {
- this.writer = writer;
- }
-
- @Override
- public void writeStartElement(String localName) throws XMLStreamException {
- writeNewLineAndIndent();
- indent++;
- writer.writeStartElement(localName);
- }
-
- @Override
- public void writeStartElement(String namespaceURI, String localName) throws XMLStreamException {
- writeNewLineAndIndent();
- indent++;
- writer.writeStartElement(namespaceURI, localName);
- }
-
- @Override
- public void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException {
- writeNewLineAndIndent();
- indent++;
- writer.writeStartElement(prefix, localName, namespaceURI);
- }
-
- @Override
- public void writeEmptyElement(String namespaceURI, String localName) throws XMLStreamException {
- writeNewLineAndIndent();
- writer.writeEmptyElement(namespaceURI, localName);
- }
-
- @Override
- public void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException {
- writeNewLineAndIndent();
- writer.writeEmptyElement(prefix, localName, namespaceURI);
- }
-
- @Override
- public void writeEmptyElement(String localName) throws XMLStreamException {
- writeNewLineAndIndent();
- writer.writeEmptyElement(localName);
- }
-
- @Override
- public void writeEndElement() throws XMLStreamException {
- indent--;
- writeNewLineAndIndent();
- writer.writeEndElement();
- }
-
- @Override
- public void writeEndDocument() throws XMLStreamException {
- indent--;
- writer.writeEndDocument();
- }
-
- @Override
- public void close() throws XMLStreamException {
- writer.close();
- }
-
- @Override
- public void flush() throws XMLStreamException {
- writer.flush();
- }
-
- @Override
- public void writeAttribute(String localName, String value) throws XMLStreamException {
- writer.writeAttribute(localName, value);
- }
-
- @Override
- public void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException {
- writer.writeAttribute(prefix, namespaceURI, localName, value);
- }
-
- @Override
- public void writeAttribute(String namespaceURI, String localName, String value) throws XMLStreamException {
- writer.writeAttribute(namespaceURI, localName, value);
- }
-
- @Override
- public void writeNamespace(String prefix, String namespaceURI) throws XMLStreamException {
- writer.writeNamespace(prefix, namespaceURI);
- }
-
- @Override
- public void writeDefaultNamespace(String namespaceURI) throws XMLStreamException {
- writer.writeDefaultNamespace(namespaceURI);
- }
-
- @Override
- public void writeComment(String data) throws XMLStreamException {
- writeNewLine();
- writer.writeComment(data);
- }
-
- @Override
- public void writeProcessingInstruction(String target) throws XMLStreamException {
- writer.writeProcessingInstruction(target);
- }
-
- @Override
- public void writeProcessingInstruction(String target, String data) throws XMLStreamException {
- writer.writeProcessingInstruction(target, data);
- }
-
- @Override
- public void writeCData(String data) throws XMLStreamException {
- writer.writeCData(data);
- }
-
- @Override
- public void writeDTD(String dtd) throws XMLStreamException {
- writer.writeDTD(dtd);
- }
-
- @Override
- public void writeEntityRef(String name) throws XMLStreamException {
- writer.writeEntityRef(name);
- }
-
- @Override
- public void writeStartDocument() throws XMLStreamException {
- writer.writeStartDocument();
- }
-
- @Override
- public void writeStartDocument(String version) throws XMLStreamException {
- writer.writeStartDocument();
- }
-
- @Override
- public void writeStartDocument(String encoding, String version) throws XMLStreamException {
- writer.writeStartDocument(encoding, version);
- }
-
- @Override
- public void writeCharacters(String text) throws XMLStreamException {
- writer.writeCharacters(text);
- }
-
- @Override
- public void writeCharacters(char[] text, int start, int len) throws XMLStreamException {
- writer.writeCharacters(text, start, len);
- }
-
- @Override
- public String getPrefix(String uri) throws XMLStreamException {
- return writer.getPrefix(uri);
- }
-
- @Override
- public void setPrefix(String prefix, String uri) throws XMLStreamException {
- writer.setPrefix(prefix, uri);
- }
-
- @Override
- public void setDefaultNamespace(String uri) throws XMLStreamException {
- writer.setDefaultNamespace(uri);
- }
-
- @Override
- public void setNamespaceContext(NamespaceContext context) throws XMLStreamException {
- writer.setNamespaceContext(context);
- }
-
- @Override
- public NamespaceContext getNamespaceContext() {
- return writer.getNamespaceContext();
- }
-
- @Override
- public Object getProperty(String name) throws IllegalArgumentException {
- return writer.getProperty(name);
- }
-
- private void writeNewLineAndIndent() throws XMLStreamException {
- if (indent < spaces.length) {
- writer.writeCharacters(spaces[indent]);
- } else {
- for (int i = 0; i < indent; i++) {
- writer.writeCharacters(" ");
- }
- }
- }
-
- private void writeNewLine() throws XMLStreamException {
- writer.writeCharacters(spaces[0]);
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlOutputTransform.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlOutputTransform.java
deleted file mode 100644
index d68e93f4dc..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlOutputTransform.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileWriter;
-import java.io.InputStream;
-import java.io.StringWriter;
-import java.io.Writer;
-import javax.xml.transform.Result;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-/**
- * @author Roberto E. Escobar
- */
-public final class XmlOutputTransform {
-
- // Prevent Instantiation
- private XmlOutputTransform() {
- }
-
- protected static void xmlToHtml(InputStream inputXML, InputStream inputXslt, Result result) throws Exception {
- Transformer transformer = TransformerFactory.newInstance().newTransformer(new StreamSource(inputXslt));
- xmlToHtml(inputXML, transformer, result);
- }
-
- private static void xmlToHtml(InputStream inputXML, Transformer transformer, Result result) throws Exception {
- try {
- transformer.transform(new StreamSource(inputXML), result);
- } catch (Exception ex) {
- throw new Exception("Error during Transform. ", ex);
- }
- }
-
- private static void xmlToHtml(InputStream inputXML, InputStream inputXslt, Writer result) throws Exception {
- boolean isNetworked = false;
-
- if (true != isNetworked) {
- // Perform Transform Directly
- xmlToHtml(inputXML, inputXslt, new StreamResult(result));
- } else {
- // Perform Transform as a Separate process by launching an XmlTransformServer.
- XmlTransformAsProcess.getHtmlFromXml(inputXML, inputXslt, result);
- }
- }
-
- public static String xmlToHtmlString(String sourceFile, File transformToApply) {
- return xmlToHtmlString(new File(sourceFile), transformToApply);
- }
-
- public static String xmlToHtmlString(File sourceFile, String transformToApply) {
- return xmlToHtmlString(sourceFile, new File(transformToApply));
- }
-
- public static String xmlToHtmlString(String sourceFile, String transformToApply) {
- return xmlToHtmlString(new File(sourceFile), new File(transformToApply));
- }
-
- public static File xmlToHtmlFile(File sourceFile, File transformToApply) throws Exception {
- File file = new File(sourceFile.getAbsolutePath().replace(".tmo", ".html"));
- xmlToHtml(new FileInputStream(sourceFile), new FileInputStream(transformToApply), new FileWriter(file));
- return file;
- }
-
- public static String xmlToHtmlString(File sourceFile, File transformToApply) {
- StringWriter sWriter = new StringWriter();
- try {
- xmlToHtml(new FileInputStream(sourceFile), new FileInputStream(transformToApply), sWriter);
- } catch (Exception e) {
- e.printStackTrace();
- }
- return sWriter.toString();
- }
-
- public static String xmlToHtmlString(InputStream sourceXML, Transformer transformer) throws Exception {
- StringWriter sWriter = new StringWriter();
- xmlToHtml(sourceXML, transformer, new StreamResult(sWriter));
- return sWriter.toString();
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTransformAsProcess.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTransformAsProcess.java
deleted file mode 100644
index c8fb47fd0d..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTransformAsProcess.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml;
-
-import java.io.BufferedInputStream;
-import java.io.BufferedOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.PrintWriter;
-import java.io.Writer;
-import java.net.InetAddress;
-import java.net.MalformedURLException;
-import java.net.Socket;
-import java.net.URISyntaxException;
-import java.net.URL;
-import java.security.CodeSource;
-import java.security.ProtectionDomain;
-import java.util.ArrayList;
-import java.util.List;
-import org.eclipse.osee.framework.jdk.core.util.network.PortUtil;
-
-/**
- * @author Roberto E. Escobar
- */
-public class XmlTransformAsProcess {
-
- private Socket clientSocket;
- private InputStream inputFromNetwork;
- private OutputStream outputFromNetwork;
- private Process process;
-
- private XmlTransformAsProcess() {
- process = null;
- clientSocket = null;
- inputFromNetwork = null;
- outputFromNetwork = null;
- }
-
- private URL getClassLocation(final Class<XmlTransformServer> classToFind) {
- URL result = null;
- if (classToFind == null) {
- throw new IllegalArgumentException("Class is null");
- }
- final String classAsResource = classToFind.getName().replace('.', '/').concat(".class");
- final ProtectionDomain pd = classToFind.getProtectionDomain();
- if (pd != null) {
- final CodeSource cs = pd.getCodeSource();
- if (cs != null) {
- result = cs.getLocation();
- }
- if (result != null) {
- // Convert a code source location into a full class file location
- if (result.getProtocol().equals("file")) {
- try {
- if (result.toExternalForm().endsWith(".jar") || result.toExternalForm().endsWith(".zip")) {
- result = new URL("jar:".concat(result.toExternalForm()).concat("!/").concat(classAsResource));
- } else if (new File(result.getFile()).isDirectory()) {
- result = new URL(result, classAsResource);
- }
- } catch (MalformedURLException ignore) {
- // do nothing
- }
- }
- }
- }
- if (result == null) {
- // Try to find class definition as a resource
- final ClassLoader classLoader = classToFind.getClassLoader();
- result = classLoader != null ? classLoader.getResource(classAsResource) : ClassLoader.getSystemResource(
- classAsResource);
- }
- return result;
- }
-
- private void connectToServer(InetAddress address, int port) throws Exception {
- try {
- for (int i = 0; i < 10; i++) {
- try {
- clientSocket = new Socket(address, port);
- break;
- } catch (Throwable th) {
- Thread.sleep(1000);
- }
- }
- System.out.println("Connected");
- inputFromNetwork = new BufferedInputStream(clientSocket.getInputStream());
- outputFromNetwork = new BufferedOutputStream(clientSocket.getOutputStream());
- } catch (Exception ex) {
- throw new Exception("Unable to Connect to Transform Server. ", ex);
- }
- }
-
- private void launchServer(int port) throws Exception {
- List<String> commands = new ArrayList<>();
- try {
- URL url = getClassLocation(XmlTransformServer.class);
- String path = new File(url.toURI()).getAbsolutePath();
- int indexOf = path.indexOf("bin");
- path = path.substring(0, indexOf + 4);
- File classFileLocation = new File(path);
-
- String className = XmlTransformServer.class.getName();
-
- commands.add("java");
- commands.add("-Xmx1024M");
- commands.add(className);
- commands.add(Integer.toString(port));
-
- ProcessBuilder builder = new ProcessBuilder();
- builder.directory(classFileLocation);
- builder.command(commands);
- process = builder.start();
- Thread.sleep(800);
- } catch (URISyntaxException ex) {
- throw new Exception("Unable to find XmlTransformServer class in File System. ", ex);
- } catch (Exception ex) {
- throw new Exception("Unable to launch TransformServer. ", ex);
- }
- }
-
- public void processXml(InputStream xmlSource, InputStream xsltSource, Writer result) {
- try {
- XmlTransformServer.sendStream(clientSocket, xmlSource, outputFromNetwork);
- Thread.sleep(2000);
- System.gc();
- System.out.println("Sent Xml");
- XmlTransformServer.sendStream(clientSocket, xsltSource, outputFromNetwork);
- System.gc();
- Thread.sleep(2000);
- System.out.println("Sent Xslt");
- XmlTransformServer.receiveStream(clientSocket, inputFromNetwork, result);
- System.gc();
- } catch (Exception ex) {
- ex.printStackTrace();
- }
- }
-
- private void clearResources() throws Exception {
- if (inputFromNetwork != null) {
- inputFromNetwork.close();
- }
- if (outputFromNetwork != null) {
- outputFromNetwork.close();
- }
- if (clientSocket != null) {
- clientSocket.close();
- }
- if (process != null) {
- process.destroy();
- }
- }
-
- public static void getHtmlFromXml(InputStream xmlSource, InputStream xsltSource, Writer results) throws Exception {
- XmlTransformAsProcess xmlTransformProcess = new XmlTransformAsProcess();
- try {
- InetAddress address = InetAddress.getLocalHost();
- int port = PortUtil.getInstance().getValidPort();
- System.out.println("Transform Server at port: " + port);
- System.gc();
- xmlTransformProcess.launchServer(port);
- xmlTransformProcess.connectToServer(address, port);
- xmlTransformProcess.processXml(xmlSource, xsltSource, results);
-
- } finally {
- xmlTransformProcess.clearResources();
- System.gc();
- }
- }
-
- public static void main(String[] args) throws Exception {
- InputStream xmlInput = new FileInputStream(args[0]);
- InputStream xsltInput = new FileInputStream(args[1]);
- getHtmlFromXml(xmlInput, xsltInput, new PrintWriter(System.out));
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTransformServer.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTransformServer.java
deleted file mode 100644
index 29698c7b74..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTransformServer.java
+++ /dev/null
@@ -1,203 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml;
-
-import java.io.BufferedInputStream;
-import java.io.BufferedOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.PrintStream;
-import java.io.PrintWriter;
-import java.io.Writer;
-import java.net.ServerSocket;
-import java.net.Socket;
-import javax.xml.transform.ErrorListener;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-/**
- * @author Roberto E. Escobar
- */
-public class XmlTransformServer {
-
- private static int MAX_PACKET_SIZE = 65536;
- private static int FINISH_PROCESSING_FLAG = -1;
- private static int TIMEOUT = 60000 * 3;
-
- private InputStream inputFromNetwork;
- private OutputStream outputToNetwork;
-
- private Socket clientSocket;
- private ServerSocket server;
- private int portNumber;
- private final String userHome;
-
- public XmlTransformServer() {
- this.server = null;
- this.portNumber = 0;
- this.userHome = System.getProperty("user.home");
- }
-
- private void initializeServer(int portNumber) throws Exception {
- this.portNumber = portNumber;
- try {
- server = new ServerSocket(portNumber);
- clientSocket = server.accept();
- inputFromNetwork = new BufferedInputStream(clientSocket.getInputStream());
- outputToNetwork = new BufferedOutputStream(clientSocket.getOutputStream());
- } catch (Exception ex) {
- throw new Exception("Unable to launch Server and get Connection. ", ex);
- }
- }
-
- public void process() throws Exception {
- performRead("xml", ".xml");
- performRead("xslt", ".xsl");
- performWrite();
- }
-
- private void performRead(String prefix, String extension) throws Exception {
- File file = new File(userHome + File.separator + prefix + portNumber + extension);
- file.createNewFile();
- FileOutputStream fos = new FileOutputStream(file);
- try {
- receiveStream(clientSocket, inputFromNetwork, new PrintStream(fos));
- } catch (Exception ex) {
- ex.printStackTrace();
- } finally {
- fos.close();
- }
- }
-
- private void performWrite() throws Exception {
- File file = new File(userHome + File.separator + "html" + portNumber + ".html");
- file.createNewFile();
- FileOutputStream fos = new FileOutputStream(file);
-
- File fisXml = new File(userHome + File.separator + "xml" + portNumber + ".xml");
- File fisXslt = new File(userHome + File.separator + "xslt" + portNumber + ".xsl");
- ErrorListener listener = null;
- try {
- System.gc();
- Transformer transformer = TransformerFactory.newInstance().newTransformer(new StreamSource(fisXslt));
- listener = transformer.getErrorListener();
- transformer.transform(new StreamSource(fisXml), new StreamResult(fos));
- } catch (Exception ex) {
- PrintWriter pw = new PrintWriter(fos);
- pw.write("Error during Transform. " + (listener != null ? listener.toString() : ""));
- ex.printStackTrace(pw);
- } finally {
- fos.close();
- fisXml.delete();
- fisXslt.delete();
- }
- System.gc();
-
- InputStream fis = new FileInputStream(file);
- try {
- sendStream(clientSocket, fis, outputToNetwork);
- Thread.sleep(1000);
- } catch (Exception ex) {
- ex.printStackTrace();
- } finally {
- fis.close();
- file.delete();
- }
- }
-
- private void clearResources() throws Exception {
- if (outputToNetwork != null) {
- outputToNetwork.close();
- }
- if (inputFromNetwork != null) {
- inputFromNetwork.close();
- }
- if (clientSocket != null) {
- clientSocket.close();
- }
- if (server != null) {
- server.close();
- }
- }
-
- static public void sendStream(Socket socket, InputStream in, OutputStream out) throws Exception {
- socket.setSoTimeout(TIMEOUT);
- try {
- int numberOfBytes = 0;
- byte[] buffer = new byte[MAX_PACKET_SIZE];
- while ((numberOfBytes = in.read(buffer, 0, buffer.length)) != -1) {
- out.write(buffer, 0, numberOfBytes);
- }
- out.write(FINISH_PROCESSING_FLAG);
- out.flush();
- } catch (Exception ex) {
- throw new Exception("Error during send.", ex);
- }
- }
-
- static public void receiveStream(Socket socket, InputStream in, OutputStream out) throws Exception {
- socket.setSoTimeout(TIMEOUT);
- try {
- int numberOfBytes = 0;
- byte[] buffer = new byte[MAX_PACKET_SIZE];
- while ((numberOfBytes = in.read(buffer, 0, buffer.length)) != -1) {
- if (buffer[numberOfBytes - 1] == -1) {
- out.write(buffer, 0, numberOfBytes - 1);
- break;
- }
- out.write(buffer, 0, numberOfBytes);
- }
- out.flush();
- } catch (Exception ex) {
- throw new Exception("Error during receive.", ex);
- }
- }
-
- static public void receiveStream(Socket socket, InputStream in, Writer out) throws Exception {
- socket.setSoTimeout(TIMEOUT);
- try {
- int numberOfBytes = 0;
- byte[] buffer = new byte[MAX_PACKET_SIZE];
- while ((numberOfBytes = in.read(buffer, 0, buffer.length)) != -1) {
- if (buffer[numberOfBytes - 1] == -1) {
- out.write(new String(buffer, 0, numberOfBytes - 1));
- break;
- }
- out.write(new String(buffer, 0, numberOfBytes));
- }
- out.flush();
- } catch (Exception ex) {
- throw new Exception("Error during receive.", ex);
- }
- }
-
- public static void main(String args[]) {
- XmlTransformServer xmlTransformServer = new XmlTransformServer();
- try {
- int port = Integer.parseInt(args[0]);
- xmlTransformServer.initializeServer(port);
- xmlTransformServer.process();
- } catch (Exception ex) {
- ex.printStackTrace();
- } finally {
- try {
- xmlTransformServer.clearResources();
- } catch (Exception ex) {
- ex.printStackTrace();
- }
- }
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTranslation.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTranslation.java
deleted file mode 100644
index c6bc2b14f3..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTranslation.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml;
-
-import java.io.CharArrayReader;
-import java.io.CharArrayWriter;
-import java.nio.CharBuffer;
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-import javax.xml.transform.Templates;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.URIResolver;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-/**
- * @author Ryan D. Brooks
- */
-public class XmlTranslation {
- /**
- * applies the xslFilename to inFilename and writes the output to outFilename.
- */
- public static CharBuffer applyXsl(CharBuffer xmlBuffer, CharBuffer xslBuffer, URIResolver uriResolver) {
- return applyXsl(new StreamSource(new CharArrayReader(xmlBuffer.array())), xslBuffer, uriResolver);
- }
-
- /**
- * applies the xslFilename to inFilename and writes the output to outFilename.
- */
- public static CharBuffer applyXsl(Source source, CharBuffer xslBuffer, URIResolver uriResolver) {
- try {
- TransformerFactory factory = TransformerFactory.newInstance();
- factory.setURIResolver(uriResolver);
-
- Templates template = factory.newTemplates(new StreamSource(new CharArrayReader(xslBuffer.array())));
- Transformer xformer = template.newTransformer();
-
- CharArrayWriter resultWriter = new CharArrayWriter(10000);
- Result result = new StreamResult(resultWriter);
-
- xformer.transform(source, result);
- return CharBuffer.wrap(resultWriter.toCharArray());
- } catch (TransformerConfigurationException ex) {
- ex.printStackTrace();
- } catch (TransformerException ex) {
- ex.printStackTrace();
- }
- return null;
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Cell.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Cell.java
deleted file mode 100644
index 85f5c88da7..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Cell.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.excel;
-
-import org.eclipse.osee.framework.jdk.core.persistence.Xmlizable;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/**
- * @author Ryan D. Brooks
- */
-public class Cell implements Xmlizable {
-
- @Override
- public Element toXml(Document doc) {
- return null;
- }
-
- public void initializeFromXml(Document doc) {
- // do nothing
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Row.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Row.java
deleted file mode 100644
index 79ed6b2204..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Row.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.excel;
-
-import org.eclipse.osee.framework.jdk.core.persistence.Xmlizable;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/**
- * @author Ryan D. Brooks
- */
-public class Row implements Xmlizable {
-
- @Override
- public Element toXml(Document doc) {
- return null;
- }
-
- public void initializeFromXml(Document doc) {
- // do nothing
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Style.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Style.java
deleted file mode 100644
index c729b75f8a..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Style.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.excel;
-
-import org.eclipse.osee.framework.jdk.core.persistence.Xmlizable;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/**
- * @author Ryan D. Brooks
- */
-public class Style implements Xmlizable {
-
- @Override
- public Element toXml(Document doc) {
- return null;
- }
-
- public void initializeFromXml(Document doc) {
- // do nothing
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Table.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Table.java
deleted file mode 100644
index 05ffbb7915..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/Table.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.excel;
-
-import org.eclipse.osee.framework.jdk.core.persistence.Xmlizable;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/**
- * @author Ryan D. Brooks
- */
-public class Table implements Xmlizable {
-
- @Override
- public Element toXml(Document doc) {
- return null;
- }
-
- public void initializeFromXml(Document doc) {
- // do nothing
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/WorkBook.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/WorkBook.java
deleted file mode 100644
index db6204d7b2..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/WorkBook.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.excel;
-
-import org.eclipse.osee.framework.jdk.core.persistence.Xmlizable;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/**
- * @author Ryan D. Brooks
- */
-public class WorkBook implements Xmlizable {
-
- @Override
- public Element toXml(Document doc) {
- return null;
- }
-
- public void initializeFromXml(Document doc) {
- // do nothing
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/WorkSheet.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/WorkSheet.java
deleted file mode 100644
index 5f497dc576..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/excel/WorkSheet.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.excel;
-
-import org.eclipse.osee.framework.jdk.core.persistence.Xmlizable;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-/**
- * @author Ryan D. Brooks
- */
-public class WorkSheet implements Xmlizable {
-
- @Override
- public Element toXml(Document doc) {
- return null;
- }
-
- public void initializeFromXml(Document doc) {
- // do nothing
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/GenericParser.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/GenericParser.java
deleted file mode 100644
index 8e7cda429c..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/GenericParser.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.parser;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.HashSet;
-import java.util.Set;
-import org.eclipse.osee.framework.jdk.core.collection.tree.Tree;
-import org.eclipse.osee.framework.jdk.core.collection.tree.TreeNode;
-import org.eclipse.osee.framework.jdk.core.util.io.xml.AbstractSaxHandler;
-import org.xml.sax.Attributes;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.XMLReaderFactory;
-
-/**
- * @author Roberto E. Escobar
- */
-public class GenericParser extends AbstractSaxHandler {
-
- private final String toFind;
- private boolean startCollecting;
- private Tree<XmlNode> collectedTree;
- private TreeNode<XmlNode> currentNode;
- private final Set<IXmlNodeListener> listeners;
- private final Set<IProcessingInstructionsListener> instructionListeners;
- private static XMLReader xmlReader;
-
- public GenericParser(String startTag) {
- this.toFind = startTag;
- this.listeners = new HashSet<>();
- this.instructionListeners = new HashSet<>();
- }
-
- public void reset() {
- this.startCollecting = false;
- this.currentNode = null;
- this.collectedTree = null;
- }
-
- @Override
- public void startElementFound(String uri, String localName, String qName, Attributes attributes) {
- if (localName.equalsIgnoreCase(toFind)) {
- startCollecting = true;
- collectedTree = new Tree<>(new XmlNode(localName, attributes));
- currentNode = null;
- }
-
- if (startCollecting) {
- XmlNode node = new XmlNode(localName, attributes);
- if (currentNode == null) {
- currentNode = collectedTree.getRoot();
- } else {
- currentNode = currentNode.addChild(node);
- }
- }
- }
-
- @Override
- public void endElementFound(String uri, String localName, String qName) {
- if (localName.equalsIgnoreCase(toFind)) {
- startCollecting = false;
- notifyTreeCollected(collectedTree);
- }
-
- if (startCollecting) {
- if (currentNode != null) {
- currentNode.getSelf().setTextContent(getContents());
- if (currentNode.getSelf().getName().equalsIgnoreCase(localName)) {
- // Found End of current Node Stop appending Children
- TreeNode<XmlNode> parent = currentNode.getParent();
- currentNode = parent;
- }
- }
- }
- }
-
- @Override
- public void processingInstruction(String target, String data) throws SAXException {
- super.processingInstruction(target, data);
- notifyProcessingInstructionChanged(target, data);
- }
-
- synchronized public void registerInstructionListener(IProcessingInstructionsListener listener) {
- if (!instructionListeners.contains(listener)) {
- instructionListeners.add(listener);
- }
- }
-
- synchronized public void deregisterInstructionListener(IProcessingInstructionsListener listener) {
- if (instructionListeners.contains(listener)) {
- instructionListeners.remove(listener);
- }
- }
-
- synchronized public void registerXmlNodeListener(IXmlNodeListener listener) {
- if (!listeners.contains(listener)) {
- listeners.add(listener);
- }
- }
-
- synchronized public void deregisterXmlNodeListener(IXmlNodeListener listener) {
- if (listeners.contains(listener)) {
- listeners.remove(listener);
- }
- }
-
- synchronized public void notifyTreeCollected(final Tree<XmlNode> tree) {
- TreeNode<XmlNode> root = tree.getRoot();
- for (IXmlNodeListener listener : listeners) {
- listener.collectionChanged(root);
- }
- }
-
- synchronized public void notifyProcessingInstructionChanged(String target, String data) {
- for (IProcessingInstructionsListener listener : instructionListeners) {
- listener.processingInstructionChanged(target, data);
- }
- }
-
- public void process(File xmlSource) throws SAXException, IOException {
- this.reset();
- process(new FileInputStream(xmlSource));
- }
-
- public void process(InputStream xmlSource) throws SAXException, IOException {
- this.reset();
- if (xmlReader == null) {
- xmlReader = XMLReaderFactory.createXMLReader();
- }
- xmlReader.setContentHandler(this);
- xmlReader.setErrorHandler(new ErrorHandler() {
-
- @Override
- public void warning(SAXParseException exception) {
- exception.printStackTrace();
- }
-
- @Override
- public void fatalError(SAXParseException exception) {
- exception.printStackTrace();
- }
-
- @Override
- public void error(SAXParseException exception) {
- exception.printStackTrace();
- }
-
- });
- xmlReader.parse(new InputSource(xmlSource));
- System.out.println();
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/IProcessingInstructionsListener.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/IProcessingInstructionsListener.java
deleted file mode 100644
index 5ebb0297c1..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/IProcessingInstructionsListener.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.parser;
-
-/**
- * @author Roberto E. Escobar
- */
-public interface IProcessingInstructionsListener {
-
- public void processingInstructionChanged(String target, String data);
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/IXmlNodeListener.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/IXmlNodeListener.java
deleted file mode 100644
index 054c77c9fd..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/IXmlNodeListener.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.parser;
-
-import org.eclipse.osee.framework.jdk.core.collection.tree.TreeNode;
-
-/**
- * @author Roberto E. Escobar
- */
-public interface IXmlNodeListener {
-
- public void collectionChanged(TreeNode<XmlNode> collected);
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/XmlNode.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/XmlNode.java
deleted file mode 100644
index 45cbe34fac..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/XmlNode.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.parser;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.xml.sax.Attributes;
-
-/**
- * @author Roberto E. Escobar
- */
-public class XmlNode {
-
- private final String name;
- private String textContent;
- private final Map<String, String> attributes;
-
- public XmlNode(String name, Attributes attributes) {
- this.name = name;
- this.attributes = new HashMap<>(attributes.getLength());
- for (int i = 0; i < attributes.getLength(); i++) {
- this.attributes.put(attributes.getQName(i), attributes.getValue(i));
- }
- this.textContent = "";
- }
-
- /**
- * @return Returns the textContent.
- */
- public String getTextContent() {
- return textContent;
- }
-
- /**
- * @param textContent The textContent to set.
- */
- public void setTextContent(String textContent) {
- if (textContent != null && textContent.length() > 0) {
- this.textContent = textContent;
- }
- }
-
- /**
- * @return Returns the value of the attribute matching the qualified name.
- */
- public String getAttributeValue(String qname) {
- return attributes.get(qname);
- }
-
- /**
- * @return Returns the name.
- */
- public String getName() {
- return name;
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/XmlTreeUtilities.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/XmlTreeUtilities.java
deleted file mode 100644
index 40af767193..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/parser/XmlTreeUtilities.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.util.xml.parser;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Stack;
-import org.eclipse.osee.framework.jdk.core.collection.tree.TreeNode;
-
-/**
- * @author Roberto E. Escobar
- */
-public class XmlTreeUtilities {
-
- private static XmlTreeUtilities instance = null;
-
- private XmlTreeUtilities() {
- }
-
- public static XmlTreeUtilities getInstance() {
- if (instance == null) {
- instance = new XmlTreeUtilities();
- }
- return instance;
- }
-
- private Stack<String> processPath(String pattern) {
- Stack<String> elementPath = new Stack<>();
- String[] path = pattern.split("/");
- for (int index = path.length - 1; index >= 0; index--) {
- String entry = path[index];
- entry = entry.trim();
- if (entry.length() > 0) {
- elementPath.push(entry);
- }
- }
- return elementPath;
- }
-
- public List<TreeNode<XmlNode>> getXmlNodesAt(String path, TreeNode<XmlNode> root) {
- Stack<String> elementPath = processPath(path);
- List<TreeNode<XmlNode>> toReturn = new ArrayList<>();
- List<TreeNode<XmlNode>> nodes = root.getChildren();
- while (!elementPath.empty()) {
- String token = elementPath.pop();
- nodes = collectNodesMatchingToken(token, nodes);
- }
- if (nodes != null && nodes.size() > 0) {
- toReturn.addAll(nodes);
- }
-
- return toReturn;
- }
-
- private List<TreeNode<XmlNode>> collectNodesMatchingToken(String token, List<TreeNode<XmlNode>> nodes) {
- List<TreeNode<XmlNode>> toReturn = new ArrayList<>();
-
- for (TreeNode<XmlNode> node : nodes) {
- if (token.equalsIgnoreCase("*")) {
- if (node.getChildren().size() > 0) {
- toReturn.addAll(node.getChildren());
- }
- }
- if (node.getSelf().getName().equalsIgnoreCase(token)) {
- toReturn.add(node);
- if (node.getChildren().size() > 0) {
- toReturn.addAll(node.getChildren());
- }
- }
- }
- return toReturn;
- }
-
- public int countNodesMatchingText(List<TreeNode<XmlNode>> nodes, String toMatch) {
- int result = 0;
- for (TreeNode<XmlNode> node : nodes) {
- if (node != null) {
- String content = node.getSelf().getTextContent();
- if (content.equalsIgnoreCase(toMatch)) {
- result++;
- }
- }
- }
- return result;
- }
-
- public XmlNode getFirstXmlNode(List<TreeNode<XmlNode>> nodes) {
- XmlNode toReturn = null;
- if (nodes.size() > 0) {
- toReturn = nodes.get(0).getSelf();
- }
- return toReturn;
- }
-
- public String getFirstXmlNodeText(List<TreeNode<XmlNode>> nodes) {
- XmlNode node = getFirstXmlNode(nodes);
- return node != null ? node.getTextContent() : "";
- }
-
- public boolean containsNode(String path, TreeNode<XmlNode> nodes) {
- List<TreeNode<XmlNode>> searchResults = getXmlNodesAt("Location", nodes);
- return searchResults.size() > 0;
- }
-
- public String getTextAtPath(String path, TreeNode<XmlNode> nodes) {
- return getFirstXmlNodeText(getXmlNodesAt(path, nodes));
- }
-
- public XmlNode getXmlNodeAtPath(String path, TreeNode<XmlNode> nodes) {
- return getFirstXmlNode(getXmlNodesAt(path, nodes));
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/ExpressionValidator.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/ExpressionValidator.java
deleted file mode 100644
index b0d4266aba..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/ExpressionValidator.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.validate;
-
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-public class ExpressionValidator extends FieldValidator {
-
- public ExpressionValidator(String fieldName) {
- super(fieldName);
- }
-
- @Override
- public boolean isValid() {
- Object object = this.paramMap.get(fieldName);
- if (object instanceof String) {
- String toValidate = (String) object;
-
- Object expression = this.paramMap.get("expression");
- if (expression instanceof String) {
- String expressionString = (String) expression;
- if (expressionString.contains("matches")) {
- expressionString = expressionString.replaceAll("\\s*matches\\('", "");
- expressionString = expressionString.replaceAll("\\'\\)\\s*", "");
- return matcher(toValidate, expressionString);
- //return true;
- }
- }
- }
- return false;
- }
-
- private boolean matcher(String toValidate, String regularExpression) {
- Pattern pattern = Pattern.compile(regularExpression);
- Matcher matcher = pattern.matcher(toValidate);
- return matcher.matches();
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/FieldValidator.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/FieldValidator.java
deleted file mode 100644
index 4b1dac70b9..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/FieldValidator.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.validate;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public abstract class FieldValidator implements IValidator {
-
- protected String fieldName;
- private String message;
- protected Map<String, Object> paramMap;
-
- FieldValidator(String fieldName) {
- this.fieldName = fieldName;
- this.message = "";
- this.paramMap = new HashMap<>();
- }
-
- @Override
- public String getFieldName() {
- return fieldName;
- }
-
- @Override
- public String getMessage() {
- for (String key : paramMap.keySet()) {
- message = message.replaceAll("\\$\\{" + key + "\\}", paramMap.get(key).toString());
- }
- return message;
- }
-
- void setMessage(String message) {
- this.message = message;
- }
-
- @Override
- public void setItemToValidate(Object object) {
- this.paramMap.put(fieldName, object);
- }
-
- void addParam(String paramName, Object value) {
- this.paramMap.put(paramName, value);
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/IValidator.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/IValidator.java
deleted file mode 100644
index 840961970e..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/IValidator.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.validate;
-
-public interface IValidator {
-
- public String getFieldName();
-
- public String getMessage();
-
- public void setItemToValidate(Object object);
-
- public boolean isValid();
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/RequiredStringValidator.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/RequiredStringValidator.java
deleted file mode 100644
index b5e91e5f3e..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/RequiredStringValidator.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.validate;
-
-import org.eclipse.osee.framework.jdk.core.util.Strings;
-
-public class RequiredStringValidator extends FieldValidator {
-
- public RequiredStringValidator(String fieldName) {
- super(fieldName);
- }
-
- @Override
- public boolean isValid() {
- Object object = paramMap.get(fieldName);
- if (object != null && object instanceof String) {
- String value = (String) object;
- return Strings.isValid(value);
- }
- return false;
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/RequiredValidator.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/RequiredValidator.java
deleted file mode 100644
index 62f9dcdc6f..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/RequiredValidator.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.validate;
-
-public class RequiredValidator extends FieldValidator {
-
- public RequiredValidator(String fieldName) {
- super(fieldName);
- }
-
- @Override
- public boolean isValid() {
- return false;
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/Validator.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/Validator.java
deleted file mode 100644
index acb48f9bd7..0000000000
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/validate/Validator.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.jdk.core.validate;
-
-import java.io.InputStream;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import org.eclipse.osee.framework.jdk.core.util.Strings;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class Validator {
-
- private final InputStream fileToRead;
- private final Map<String, List<IValidator>> validatorMap;
-
- private enum EntryEnum {
- field;
- }
-
- private enum FieldAttributes {
- name;
- }
-
- private enum FieldEntries {
- validator;
- }
-
- private enum FieldValidatorAttributes {
- type;
- }
-
- private enum FieldValidatorEntries {
- message,
- param;
- }
-
- private enum ParamAttributes {
- name;
- }
-
- private enum ValidationTypes {
- requiredstring,
- required,
- expression;
- }
-
- public Validator(InputStream fileToRead) throws Exception {
- this.fileToRead = fileToRead;
- this.validatorMap = new HashMap<>();
- parseFile();
- }
-
- private void storeValidator(String fieldName, IValidator validator) {
- List<IValidator> list = null;
- if (!validatorMap.containsKey(fieldName)) {
- list = new ArrayList<>();
- validatorMap.put(fieldName, list);
- } else {
- list = validatorMap.get(fieldName);
- }
- list.add(validator);
- }
-
- private void parseMessage(Element element, FieldValidator validator) {
- NodeList messageList = element.getElementsByTagName(FieldValidatorEntries.message.name());
- if (messageList.getLength() == 1) {
- Node node = messageList.item(0);
- if (node != null) {
- String message = node.getTextContent();
- if (Strings.isValid(message)) {
- validator.setMessage(message.trim());
- }
- }
- }
- }
-
- private void parseParams(Element element, FieldValidator validator) {
- NodeList paramList = element.getElementsByTagName(FieldValidatorEntries.param.name());
- for (int i = 0; i < paramList.getLength(); i++) {
- Element paramElement = (Element) paramList.item(i);
- String paramName = paramElement.getAttribute(ParamAttributes.name.name());
- if (Strings.isValid(paramName)) {
- String content = paramElement.getTextContent();
- if (Strings.isValid(content)) {
- validator.addParam(paramName.trim(), content.trim());
- }
- }
- }
- }
-
- private void parseValidator(Element element, String fieldName, String validatorType) {
- FieldValidator validator = validatorFactory(fieldName, validatorType);
- if (validator != null) {
- parseMessage(element, validator);
- parseParams(element, validator);
- storeValidator(fieldName, validator);
- }
- }
-
- private void parseFile() throws Exception {
- DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
- DocumentBuilder builder = factory.newDocumentBuilder();
- Document document = builder.parse(fileToRead);
-
- NodeList fields = document.getElementsByTagName(EntryEnum.field.name());
-
- for (int i = 0; i < fields.getLength(); i++) {
-
- Element fieldElement = (Element) fields.item(i);
- String fieldName = fieldElement.getAttribute(FieldAttributes.name.name());
- if (Strings.isValid(fieldName)) {
-
- NodeList validators = fieldElement.getElementsByTagName(FieldEntries.validator.name());
- for (int j = 0; j < validators.getLength(); j++) {
- Element validatorElement = (Element) validators.item(j);
-
- String validatorType = validatorElement.getAttribute(FieldValidatorAttributes.type.name());
- if (Strings.isValid(validatorType)) {
- parseValidator(validatorElement, fieldName.trim(), validatorType.trim());
- }
- }
- }
- }
- }
-
- private FieldValidator validatorFactory(String name, String type) {
- FieldValidator toReturn = null;
- ValidationTypes validationType = ValidationTypes.valueOf(type);
- switch (validationType) {
- case requiredstring:
- toReturn = new RequiredStringValidator(name);
- break;
- case required:
- toReturn = new RequiredValidator(name);
- break;
- case expression:
- toReturn = new ExpressionValidator(name);
- default:
- break;
- }
- return toReturn;
- }
-
- public List<IValidator> getValidator(String fieldName) {
- List<IValidator> list = validatorMap.get(fieldName);
- return list != null ? list : new ArrayList<IValidator>();
- }
-}
diff --git a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/sql/SqlHandler.java b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/sql/SqlHandler.java
index 6b1fca5c2a..3ead6599d5 100644
--- a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/sql/SqlHandler.java
+++ b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/sql/SqlHandler.java
@@ -10,7 +10,6 @@
*******************************************************************************/
package org.eclipse.osee.orcs.db.internal.sql;
-import org.eclipse.osee.framework.jdk.core.type.HasPriority;
import org.eclipse.osee.logger.Log;
import org.eclipse.osee.orcs.core.ds.Criteria;
import org.eclipse.osee.orcs.db.internal.IdentityLocator;
@@ -18,7 +17,7 @@ import org.eclipse.osee.orcs.db.internal.IdentityLocator;
/**
* @author Roberto E. Escobar
*/
-public abstract class SqlHandler<T extends Criteria> implements HasPriority {
+public abstract class SqlHandler<T extends Criteria> {
private Log logger;
private IdentityLocator idService;
@@ -48,7 +47,6 @@ public abstract class SqlHandler<T extends Criteria> implements HasPriority {
this.level = level;
}
- @Override
public abstract int getPriority();
public void setData(T criteria) {

Back to the top