public final class JarFileIterator extends Object implements ResourceIterator
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
JarFileIterator.InputStreamWrapper
The Class InputStreamWrapper.
|
| Modifier and Type | Field and Description |
|---|---|
private boolean |
closed
The closed.
|
private Filter |
filter
The filter.
|
private boolean |
initial
The initial.
|
private JarInputStream |
jar
The jar.
|
private JarEntry |
next
The next.
|
| Constructor and Description |
|---|
JarFileIterator(InputStream is,
Filter filter)
Instantiates a new jar file iterator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close.
|
InputStream |
next()
Please close after use.
|
private void |
setNext()
Sets the next.
|
private JarInputStream jar
private JarEntry next
private Filter filter
private boolean initial
private boolean closed
public JarFileIterator(InputStream is, Filter filter)
is - the isfilter - the filterIOException - Signals that an I/O exception has occurred.private void setNext()
public InputStream next()
ResourceIteratornext in interface ResourceIteratorpublic void close()
ResourceIteratorclose in interface ResourceIteratorCopyright © 2015. All Rights Reserved.