|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jersey.core.spi.scanning.JarFileScanner
public final class JarFileScanner
A utility class that scans entries in jar files.
Constructor Summary | |
---|---|
JarFileScanner()
|
Method Summary | |
---|---|
static void |
scan(java.io.File f,
java.lang.String parent,
ScannerListener sl)
Scan entries in a jar file. |
static void |
scan(java.io.InputStream in,
java.lang.String parent,
ScannerListener sl)
Scan entries in a jar file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarFileScanner()
Method Detail |
---|
public static void scan(java.io.File f, java.lang.String parent, ScannerListener sl) throws java.io.IOException
An entry will be reported to the scanning listener if the entry is a child of the parent path.
f
- the jar file.parent
- the parent path.sl
- the scanning lister to report jar entries.
java.io.IOException
- if an error occurred scanning the jar entriespublic static void scan(java.io.InputStream in, java.lang.String parent, ScannerListener sl) throws java.io.IOException
An entry will be reported to the scanning listener if the entry is a child of the parent path.
in
- the jar file as an input stream.parent
- the parent path.sl
- the scanning lister to report jar entries.
java.io.IOException
- if an error occurred scanning the jar entries
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |