com.alee.utils.reflection
Class JarStructure
java.lang.Object
com.alee.utils.reflection.JarStructure
public class JarStructure
- extends java.lang.Object
User: mgarin Date: 02.03.12 Time: 15:58
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPARATOR
public static final JarEntryComparator COMPARATOR
JarStructure
public JarStructure(JarEntry root)
getJarLocation
public java.lang.String getJarLocation()
setJarLocation
public void setJarLocation(java.lang.String jarLocation)
getRoot
public JarEntry getRoot()
setRoot
public void setRoot(JarEntry root)
getChildEntries
public java.util.List<JarEntry> getChildEntries(JarEntry entry)
findEntryByName
public JarEntry findEntryByName(java.lang.String name)
findSimilarEntries
public java.util.List<JarEntry> findSimilarEntries(java.lang.String name)
findSimilarEntries
public java.util.List<JarEntry> findSimilarEntries(java.lang.String name,
Filter<JarEntry> filter)
getClassEntry
public JarEntry getClassEntry(java.lang.Class forClass)
setPackageIcon
public void setPackageIcon(java.lang.Package packageType,
javax.swing.ImageIcon icon)
setPackageIcon
public void setPackageIcon(java.lang.String packageName,
javax.swing.ImageIcon icon)
setClassIcon
public void setClassIcon(java.lang.Class classType,
javax.swing.ImageIcon icon)
getEntryInputStream
public java.io.InputStream getEntryInputStream(JarEntry entry)
throws java.io.IOException
- Throws:
java.io.IOException