Implementation Note
This class needs to maintain JDK 8 source compatibility. It is used internally in the JDK to implement jimage/jrtfs access, but also compiled and delivered as part of the jrtfs.jar to support access to the jimage file provided by the shipped JDK by tools running on JDK 8.
Modifier and Type | Field and Description |
---|---|
private final JrtPath | |
private final DirectoryStream. | |
private boolean | |
private Iterator |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public synchronized void | close()
Implements java. |
public synchronized Iterator | iterator()
Implements java. DirectoryStream .
|
dir | back to summary |
---|---|
private final JrtPath dir |
filter | back to summary |
---|---|
private final DirectoryStream. |
isClosed | back to summary |
---|---|
private boolean isClosed |
itr | back to summary |
---|---|
private Iterator<Path> itr |
JrtDirectoryStream | back to summary |
---|---|
pack-priv JrtDirectoryStream(JrtPath dir, DirectoryStream. |
close | back to summary |
---|---|
public synchronized void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
|
iterator | back to summary |
---|---|
public synchronized Iterator Implements java. Doc from java. Returns the iterator associated with this |