private IClass loadClass(String fileName, String name, Library library) { InputStream is = library.getInputStream(fileName); if (is != null) { ExternalClass bclass = new ExternalClass(Name.getQualified(name)); this.classes.add(bclass); return ClassReader.loadClass(bclass, is, false); } return null; }
private IDyvilHeader loadHeader(String fileName, String name, Library library) { InputStream is = library.getInputStream(fileName); if (is != null) { DyvilHeader header = HeaderFile.read(is); header.pack = this; this.headers.add(header); return header; } return null; }