站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

Jar.EntryInfo - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.common.util
Class Jar.EntryInfo

java.lang.Object
  extended byorg.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.


Constructor Summary
Jar.EntryInfo(java.util.jar.JarEntry entry)
           
 
Method Summary
 java.lang.String get(int index)
           
 java.util.List getAtoms()
           
 java.util.jar.JarEntry getEntry()
           
 boolean isChildOf(Jar.EntryInfo parent)
           
 boolean isDescendantOf(Jar.EntryInfo ancestor)
           
 boolean isDirectory()
           
 java.util.Iterator iterator()
           
 int size()
           
 java.lang.String toString()
           
 java.net.URL toURL(java.net.URL jarURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Jar.EntryInfo

public Jar.EntryInfo(java.util.jar.JarEntry entry)
Method Detail

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()