Module com.aoapps.io.filesystems
Package com.aoapps.io.filesystems
Class FileSystemWrapper.PathIteratorWrapper
java.lang.Object
com.aoapps.io.filesystems.PathIterator
com.aoapps.io.filesystems.FileSystemWrapper.PathIteratorWrapper
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterator<Path>
- Enclosing class:
FileSystemWrapper
Wraps
PathIterator
, wrapping each result in next()
.-
Field Summary
Modifier and TypeFieldDescriptionprotected final FileSystemWrapper.PathWrapper
protected final PathIterator
-
Constructor Summary
ModifierConstructorDescriptionprotected
PathIteratorWrapper
(FileSystemWrapper.PathWrapper parent, PathIterator wrappedIter) -
Method Summary
Methods inherited from class com.aoapps.io.filesystems.PathIterator
remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
parent
-
wrappedIter
-
-
Constructor Details
-
PathIteratorWrapper
-
-
Method Details
-
hasNext
Description copied from class:PathIterator
- Specified by:
hasNext
in interfaceIterator<Path>
- Specified by:
hasNext
in classPathIterator
- Throws:
DirectoryIteratorException
- when an underlying IOException has occurred.
-
next
- Throws:
NoSuchElementException
-
close
- Throws:
IOException
-