String line = null;\r
try\r
{\r
- URL url = new URL(file);\r
+ BufferedReader in = null;\r
+ java.io.InputStream is = getClass().getResourceAsStream("/" + file);\r
+ if (is != null)\r
+ {\r
+ in = new BufferedReader(new java.io.InputStreamReader(is));\r
+ }\r
+ else\r
+ {\r
+ URL url = new URL(file);\r
+ in = new BufferedReader(new InputStreamReader(url.openStream()));\r
+ }\r
\r
- BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));\r
SequenceI seq = null;\r
String type, desc, token;\r
\r