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
FieldsModifier and TypeFieldDescriptionprotected final FileSystemWrapper.PathWrapperprotected final PathIterator -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPathIteratorWrapper(FileSystemWrapper.PathWrapper parent, PathIterator wrappedIter) -
Method Summary
Methods inherited from class com.aoapps.io.filesystems.PathIterator
removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
parent
-
wrappedIter
-
-
Constructor Details
-
PathIteratorWrapper
-
-
Method Details
-
hasNext
Description copied from class:PathIterator- Specified by:
hasNextin interfaceIterator<Path>- Specified by:
hasNextin classPathIterator- Throws:
DirectoryIteratorException- when an underlying IOException has occurred.
-
next
- Throws:
NoSuchElementException
-
close
- Throws:
IOException
-
