320321322323324325326327328329330
Path sub = _pwd.lookup(uri); ReadStream is = null; try { is = sub.openRead(); InputSource source = new InputSource(is); source.setSystemId(uri); CompactParser parser = new CompactParser();
4950515253545556575859
public Schema compileSchema(String url) throws SAXException, IOException { Path path = Vfs.lookup(url); ReadStream is = path.openRead(); try { InputSource source = new InputSource(is); source.setSystemId(url); return compileSchema(source);
380381382383384385386387388389390
manifestPath = jar.lookup("META-INF/MANIFEST.MF"); contextPath = path.getParent(); } if (manifestPath.canRead()) { ReadStream is = manifestPath.openRead(); try { Manifest manifest = new Manifest(is); Attributes main = manifest.getMainAttributes();
19992000200120022003200420052006200720082009
return font; Path path = env.lookupPwd(fontPath); if (path.canRead()) { ReadStream is = path.openRead(); try { font = Font.createFont(Font.TRUETYPE_FONT, is); } finally { is.close();
20422043204420452046204720482049205020512052
start = len; } if (path.canRead()) { ReadStream is = path.openRead(); try { font = Font.createFont(Font.TRUETYPE_FONT, is); } finally { is.close();
597598599600601602603604605606607
env.warning(L.l("Cannot read file/URL '{0}'", data)); return null; } ReadStream is = path.openRead(); try { document = builder.parse(is); } finally { is.close();
874875876877878879880881882883884
try { Path path = env.getPwd().lookup(value.toString()); if (path.exists()) { in = path.openRead(); StringBuilder sb = new StringBuilder(); int ch; while ((ch = in.read()) >= 0) {
8990919293949596979899
Path path = mergePath.lookup("com/caucho/quercus/lib/pdf/font/" + name + ".afm"); if (! path.canRead()) throw new FileNotFoundException(L.l("Can't find font {0}", name)); _is = path.openRead(); try { return parseTop(); } finally { _is.close();
29762977297829792980298129822983298429852986
try { Path path = Vfs.lookup(_systemId); if (path.canRead()) { ReadStream is = path.openRead(); lines.append("\n"); try { for (int i = 1; i < _line + 3; i++) {
384385386387388389390391392393394
int retry = 3; for (int i = 0; i < retry; i++) { long length = -1; ReadStream is = classPath.openRead(); try { length = classPath.getLength(); long lastModified = classPath.getLastModified();