ends.addElement("0");\r
}\r
} else {\r
- ids.addElement(line.substring(abracket + 1,\r
- line.indexOf("/")));\r
- line = line.substring(line.indexOf("/") + 1);\r
- starts.addElement(line.substring(0, line.indexOf("-")));\r
- ends.addElement(line.substring(line.indexOf("-") + 1));\r
+ if(line.indexOf("/")>-1)\r
+ {\r
+ ids.addElement(line.substring(abracket + 1,\r
+ line.indexOf("/")));\r
+ line = line.substring(line.indexOf("/") + 1);\r
+ starts.addElement(line.substring(0, line.indexOf("-")));\r
+ ends.addElement(line.substring(line.indexOf("-") + 1));\r
+ }\r
+ else{\r
+ ids.addElement(line.substring(abracket+1));\r
+ starts.addElement("0");\r
+ ends.addElement("0");\r
+ }\r
+\r
}\r
}\r
} while (!idsFound);\r