Package com.mchange.v2.io
Interface FileIterator
-
- All Superinterfaces:
ClosableResource,UIterator
public interface FileIterator extends UIterator
-
-
Field Summary
Fields Modifier and Type Field Description static FileIteratorEMPTY_FILE_ITERATOR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()forces the release of any resources that might be associated with this object.booleanhasNext()java.lang.Objectnext()java.io.FilenextFile()voidremove()
-
-
-
Field Detail
-
EMPTY_FILE_ITERATOR
static final FileIterator EMPTY_FILE_ITERATOR
-
-
Method Detail
-
nextFile
java.io.File nextFile() throws java.io.IOException- Throws:
java.io.IOException
-
hasNext
boolean hasNext() throws java.io.IOException
-
next
java.lang.Object next() throws java.io.IOException
-
remove
void remove() throws java.io.IOException
-
close
void close() throws java.io.IOExceptionDescription copied from interface:ClosableResourceforces the release of any resources that might be associated with this object.- Specified by:
closein interfaceClosableResource- Specified by:
closein interfaceUIterator- Throws:
java.io.IOException
-
-