|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.internal.scanning.JarFileScanner
public final class JarFileScanner
A utility class that scans entries in jar files.
| Constructor Summary | |
|---|---|
JarFileScanner(java.io.InputStream inputStream,
java.lang.String parent)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
java.lang.String |
next()
|
java.io.InputStream |
open()
Open current resource. |
void |
remove()
This operation is not supported by ResourceFinder & throws UnsupportedOperationException
when invoked. |
void |
reset()
Reset the ResourceFinder instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JarFileScanner(java.io.InputStream inputStream,
java.lang.String parent)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.String>public java.lang.String next()
next in interface java.util.Iterator<java.lang.String>public void remove()
ResourceFinderResourceFinder & throws UnsupportedOperationException
when invoked.
remove in interface java.util.Iterator<java.lang.String>remove in interface ResourceFinderpublic java.io.InputStream open()
ResourceFinder
open in interface ResourceFinderpublic void reset()
ResourceFinderResourceFinder instance.
Upon calling this method the implementing class MUST reset its internal state to the initial state.
reset in interface ResourceFinder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||