+ \r
+ /**\r
+ Get all Industry Std Includes' paths from one package\r
+ \r
+ @return a Vector with all paths\r
+ \r
+ **/\r
+ public Vector<String> getAllIndustryStdIncludesOfPackage(String path) {\r
+ Vector<String> includePath = new Vector<String>();\r
+ try {\r
+ IndustryStdIncludes files = OpenFile.openSpdFile(path).getIndustryStdIncludes();\r
+ if (files != null) {\r
+ for (int index = 0; index < files.getIndustryStdHeaderList().size(); index++) {\r
+ String temp = files.getIndustryStdHeaderList().get(index).getName();\r
+ temp = Tools.addFileSeparator(Tools.getFilePathOnly(path)) + temp;\r
+ temp = Tools.convertPathToCurrentOsType(temp);\r
+ includePath.addElement(temp);\r
+ }\r
+ }\r
+ } catch (IOException e) {\r
+ e.printStackTrace();\r
+ } catch (XmlException e) {\r
+ e.printStackTrace();\r
+ } catch (Exception e) {\r
+ e.printStackTrace();\r
+ }\r
+ return includePath;\r
+ }\r