Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.common.jar
Class JarEntryInfo

    java.lang.Object
      org.jboss.portal.common.jar.JarEntryInfo

All Implemented Interfaces:
  java.lang.Comparable

    public class JarEntryInfo

extends java.lang.Object
implements java.lang.Comparable

Enhance jar entry object by adding more info.

Version:
  $Revision: 7448 $
Author:
  Julien Viet

Constructor Summary
`JarEntryInfo(java.util.jar.JarEntry entry)`

Method Summary
`int` | `compareTo(java.lang.Object obj)`
`boolean` | `equals(java.lang.Object obj)`
`java.util.jar.JarEntry` | `getEntry()`
`java.lang.String` | `getName(int index)`
`java.util.List` | `getNames()`
`boolean` | `isChildOf(JarEntryInfo parent)`
`boolean` | `isDescendantOf(JarEntryInfo ancestor)`
`boolean` | `isDirectory()`
`int` | `size()`
`java.lang.String` | `toString()`
`java.net.URL` | `toURL(java.net.URL jarURL)`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### JarEntryInfo

    public JarEntryInfo(java.util.jar.JarEntry entry)

Method Detail

### getEntry

    public java.util.jar.JarEntry getEntry()

### isDirectory

    public boolean isDirectory()

### size

    public int size()

### getNames

    public java.util.List getNames()

### getName

    public java.lang.String getName(int index)

### isChildOf

    public boolean isChildOf(JarEntryInfo parent)
                      throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

### isDescendantOf

    public boolean isDescendantOf(JarEntryInfo 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()

  Overrides:
    `toString` in class `java.lang.Object`

### equals

    public boolean equals(java.lang.Object obj)

  Overrides:
    `equals` in class `java.lang.Object`

### compareTo

    public int compareTo(java.lang.Object obj)

  Specified by:
    `compareTo` in interface `java.lang.Comparable`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD