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() |
Object |
next() |
File |
nextFile() |
void |
remove() |
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
Copyright © 2017 com.mchange. All rights reserved.