Lines 7306-7315
Link Here
|
7306 |
|
7306 |
|
7307 |
//files are located at Parser.class directory |
7307 |
//files are located at Parser.class directory |
7308 |
|
7308 |
|
7309 |
InputStream stream = new BufferedInputStream(Parser.class.getResourceAsStream(filename)); |
7309 |
InputStream stream = Parser.class.getResourceAsStream(filename); |
7310 |
if (stream == null) { |
7310 |
if (stream == null) { |
7311 |
throw new java.io.IOException(Util.bind("parser.missingFile",filename)); //$NON-NLS-1$ |
7311 |
throw new java.io.IOException(Util.bind("parser.missingFile",filename)); //$NON-NLS-1$ |
7312 |
} |
7312 |
} |
|
|
7313 |
stream = new BufferedInputStream(stream); |
7313 |
byte[] bytes = null; |
7314 |
byte[] bytes = null; |
7314 |
try { |
7315 |
try { |
7315 |
bytes = Util.getInputStreamAsByteArray(stream, -1); |
7316 |
bytes = Util.getInputStreamAsByteArray(stream, -1); |