public interface FileIterator extends UIterator
Modifier and Type | Field and Description |
---|---|
static FileIterator |
EMPTY_FILE_ITERATOR |
static final FileIterator EMPTY_FILE_ITERATOR
File nextFile() throws IOException
IOException
boolean hasNext() throws IOException
hasNext
in interface UIterator
IOException
Object next() throws IOException
next
in interface UIterator
IOException
void remove() throws IOException
remove
in interface UIterator
IOException
void close() throws IOException
ClosableResource
close
in interface ClosableResource
close
in interface UIterator
IOException