com.mchange.v2.io
Interface FileIterator
- All Superinterfaces:
- ClosableResource, UIterator
public interface FileIterator
- extends UIterator
|
Method Summary |
void |
close()
forces the release of any resources that might be
associated with this object. |
boolean |
hasNext()
|
java.lang.Object |
next()
|
java.io.File |
nextFile()
|
void |
remove()
|
EMPTY_FILE_ITERATOR
static final FileIterator EMPTY_FILE_ITERATOR
nextFile
java.io.File nextFile()
throws java.io.IOException
- Throws:
java.io.IOException
hasNext
boolean hasNext()
throws java.io.IOException
- Specified by:
hasNext in interface UIterator
- Throws:
java.io.IOException
next
java.lang.Object next()
throws java.io.IOException
- Specified by:
next in interface UIterator
- Throws:
java.io.IOException
remove
void remove()
throws java.io.IOException
- Specified by:
remove in interface UIterator
- Throws:
java.io.IOException
close
void close()
throws java.io.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:
java.io.IOException