Package xyz.cofe.io.fs
Class DirIterator
- java.lang.Object
-
- xyz.cofe.io.fs.DirIterator
-
-
Constructor Summary
Constructors Constructor Description DirIterator(Path path)DirIterator(File path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidfinalize()protected voidfinish()booleanhasNext()Filenext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Field Detail
-
dstream
protected DirectoryStream<Path> dstream
-
-
Constructor Detail
-
DirIterator
public DirIterator(Path path) throws IOException
- Throws:
IOException
-
DirIterator
public DirIterator(File path) throws IOException
- Throws:
IOException
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
finish
protected void finish()
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-