public interface FileIterator extends UIterator
| Modifier and Type | Field and Description |
|---|---|
static FileIterator |
EMPTY_FILE_ITERATOR |
| Modifier and Type | Method and Description |
|---|---|
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() |
static final FileIterator EMPTY_FILE_ITERATOR
java.io.File nextFile()
throws java.io.IOException
java.io.IOExceptionboolean hasNext()
throws java.io.IOException
java.lang.Object next()
throws java.io.IOException
void remove()
throws java.io.IOException
void close()
throws java.io.IOException
ClosableResourceclose in interface ClosableResourceclose in interface UIteratorjava.io.IOException