public class JarEntry
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static javax.swing.ImageIcon |
classIcon |
static javax.swing.ImageIcon |
fileIcon |
static java.lang.String |
ID_PREFIX |
static javax.swing.ImageIcon |
jarIcon |
static javax.swing.ImageIcon |
javaIcon |
static javax.swing.ImageIcon |
packageIcon |
| Constructor and Description |
|---|
JarEntry() |
JarEntry(JarEntryType type,
java.lang.String name) |
JarEntry(JarEntryType type,
java.lang.String name,
JarEntry parent) |
JarEntry(JarEntryType type,
java.lang.String name,
JarEntry parent,
java.util.List<JarEntry> childs) |
| 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> |
getChilds() |
java.lang.String |
getEntryExtension() |
javax.swing.ImageIcon |
getIcon() |
java.lang.String |
getId() |
java.lang.String |
getName() |
JarEntry |
getParent() |
java.util.List<JarEntry> |
getPath() |
JarEntryType |
getType() |
java.util.zip.ZipEntry |
getZipEntry() |
boolean |
isClassEntry(java.lang.Class classType) |
void |
removeChild(JarEntry child) |
void |
setChilds(java.util.List<JarEntry> childs) |
void |
setIcon(javax.swing.ImageIcon icon) |
void |
setId(java.lang.String id) |
void |
setName(java.lang.String name) |
void |
setParent(JarEntry parent) |
void |
setType(JarEntryType type) |
void |
setZipEntry(java.util.zip.ZipEntry zipEntry) |
java.lang.String |
toString() |
public static final java.lang.String ID_PREFIX
public static javax.swing.ImageIcon jarIcon
public static javax.swing.ImageIcon packageIcon
public static javax.swing.ImageIcon classIcon
public static javax.swing.ImageIcon javaIcon
public static javax.swing.ImageIcon fileIcon
public JarEntry()
public JarEntry(JarEntryType type, java.lang.String name)
public JarEntry(JarEntryType type, java.lang.String name, JarEntry parent)
public JarEntry(JarEntryType type, java.lang.String name, JarEntry parent, java.util.List<JarEntry> childs)
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 JarEntry getParent()
public void setParent(JarEntry parent)
public java.util.zip.ZipEntry getZipEntry()
public void setZipEntry(java.util.zip.ZipEntry zipEntry)
public java.util.List<JarEntry> getChilds()
public JarEntry getChild(int index)
public JarEntry getChildByName(java.lang.String name)
public void setChilds(java.util.List<JarEntry> childs)
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 boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object