/** * Returns the content of the JAR's MANIFEST.MF file, or null if either this isn't a .JAR file or it didn't contain * a MANIFEST.MF file. */ public IString getManifestContent() { return MANIFEST_CONTENT.get(getNd(), getAddress()); }
/** * Stores the content of the JAR's MANIFEST.MF file. This should only be invoked on resources that correspond to JAR * files. */ public void setManifestContent(char[] newContent) { MANIFEST_CONTENT.put(getNd(), getAddress(), newContent); }
/** * Returns the set of all leaf zip entries that are not .class files. Does not include non-empty directories * or .class files, but will contain all other zip entries from the original jar file. Returns the empty list * for non-jar files. */ public List<NdZipEntry> getZipEntries() { return ZIP_ENTRIES.asList(getNd(), getAddress()); }
/** * Returns the set of all leaf zip entries that are not .class files. Does not include non-empty directories * or .class files, but will contain all other zip entries from the original jar file. Returns the empty list * for non-jar files. */ public List<NdZipEntry> getZipEntries() { return ZIP_ENTRIES.asList(getNd(), getAddress()); }
/** * Returns the content of the JAR's MANIFEST.MF file, or null if either this isn't a .JAR file or it didn't contain * a MANIFEST.MF file. */ public IString getManifestContent() { return MANIFEST_CONTENT.get(getNd(), getAddress()); }
/** * Stores the content of the JAR's MANIFEST.MF file. This should only be invoked on resources that correspond to JAR * files. */ public void setManifestContent(char[] newContent) { MANIFEST_CONTENT.put(getNd(), getAddress(), newContent); }
public NdZipEntry addZipEntry(String fileName) { NdZipEntry result = ZIP_ENTRIES.append(getNd(), getAddress()); result.setFilename(fileName); return result; } }
public NdZipEntry addZipEntry(String fileName) { NdZipEntry result = ZIP_ENTRIES.append(getNd(), getAddress()); result.setFilename(fileName); return result; } }