public class JarEntry
extends java.lang.Object
JarEntry.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID_PREFIX
ID prefix.
|
| Constructor and Description |
|---|
JarEntry(JarStructure structure) |
JarEntry(JarStructure structure,
JarEntryType type,
java.lang.String name) |
JarEntry(JarStructure structure,
JarEntryType type,
java.lang.String name,
JarEntry parent) |
JarEntry(JarStructure structure,
JarEntryType type,
java.lang.String name,
JarEntry parent,
java.util.List<JarEntry> children) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(int index,
JarEntry child) |
void |
addChild(JarEntry child) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCanonicalEntryName() |
java.lang.String |
getCanonicalEntryPath() |
JarEntry |
getChild(int index) |
JarEntry |
getChildByName(java.lang.String name) |
java.util.List<JarEntry> |
getChildren() |
java.lang.String |
getEntryExtension() |
javax.swing.ImageIcon |
getIcon() |
java.lang.String |
getId() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getName() |
JarEntry |
getParent() |
java.util.List<JarEntry> |
getPath() |
JarStructure |
getStructure() |
JarEntryType |
getType() |
java.util.zip.ZipEntry |
getZipEntry() |
boolean |
isClassEntry(java.lang.Class classType) |
void |
removeChild(JarEntry child) |
void |
setChildren(java.util.List<JarEntry> children) |
void |
setIcon(javax.swing.ImageIcon icon) |
void |
setId(java.lang.String id) |
void |
setName(java.lang.String name) |
void |
setParent(JarEntry parent) |
void |
setStructure(JarStructure structure) |
void |
setType(JarEntryType type) |
void |
setZipEntry(java.util.zip.ZipEntry zipEntry) |
java.lang.String |
toString() |
public static final java.lang.String ID_PREFIX
public JarEntry(JarStructure structure)
public JarEntry(JarStructure structure, JarEntryType type, java.lang.String name)
public JarEntry(JarStructure structure, JarEntryType type, java.lang.String name, JarEntry parent)
public JarEntry(JarStructure structure, JarEntryType type, java.lang.String name, JarEntry parent, java.util.List<JarEntry> children)
public java.lang.String getId()
public void setId(java.lang.String id)
public JarEntryType getType()
public void setType(JarEntryType type)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.zip.ZipEntry getZipEntry()
public void setZipEntry(java.util.zip.ZipEntry zipEntry)
public JarStructure getStructure()
public void setStructure(JarStructure structure)
public JarEntry getParent()
public void setParent(JarEntry parent)
public java.util.List<JarEntry> getChildren()
public JarEntry getChild(int index)
public JarEntry getChildByName(java.lang.String name)
public void setChildren(java.util.List<JarEntry> children)
public void addChild(JarEntry child)
public void addChild(int index,
JarEntry child)
public void removeChild(JarEntry child)
public javax.swing.ImageIcon getIcon()
public void setIcon(javax.swing.ImageIcon icon)
public java.lang.String getEntryExtension()
public boolean isClassEntry(java.lang.Class classType)
public java.lang.String getCanonicalEntryName()
public java.lang.String getCanonicalEntryPath()
public java.util.List<JarEntry> getPath()
public java.io.InputStream getInputStream()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object