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.IOException
boolean 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
ClosableResource
close
in interface ClosableResource
close
in interface UIterator
java.io.IOException