com.mchange.v2.io
Interface FileIterator
- All Superinterfaces:
- ClosableResource, UIterator
public interface FileIterator
- extends UIterator
EMPTY_FILE_ITERATOR
static final FileIterator EMPTY_FILE_ITERATOR
nextFile
File nextFile()
throws IOException
- Throws:
IOException
hasNext
boolean hasNext()
throws IOException
- Specified by:
hasNext in interface UIterator
- Throws:
IOException
next
Object next()
throws IOException
- Specified by:
next in interface UIterator
- Throws:
IOException
remove
void remove()
throws IOException
- Specified by:
remove in interface UIterator
- Throws:
IOException
close
void close()
throws IOException
- Description copied from interface:
ClosableResource
- forces the release of any resources that might be
associated with this object.
- Specified by:
close in interface ClosableResource- Specified by:
close in interface UIterator
- Throws:
IOException