当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
Jar.EntryInfo - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.common.util
Class Jar.EntryInfo
java.lang.Object
org.jboss.portal.common.util.Jar.EntryInfo
- Enclosing class:
- Jar
- public static class Jar.EntryInfo
- extends java.lang.Object
Enhance jar entry object by adding more info.
Field Summary |
static java.util.Comparator |
COMPARATOR
Compares jar entries. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COMPARATOR
public static final java.util.Comparator COMPARATOR
- Compares jar entries.
Jar.EntryInfo
public Jar.EntryInfo(java.util.jar.JarEntry entry)
iterator
public java.util.Iterator iterator()
getEntry
public java.util.jar.JarEntry getEntry()
isDirectory
public boolean isDirectory()
size
public int size()
getAtoms
public java.util.List getAtoms()
get
public java.lang.String get(int index)
isChildOf
public boolean isChildOf(Jar.EntryInfo parent)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
isDescendantOf
public boolean isDescendantOf(Jar.EntryInfo ancestor)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
toURL
public java.net.URL toURL(java.net.URL jarURL)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
java.net.MalformedURLException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
java.net.MalformedURLException
toString
public java.lang.String toString()