public class FileIterator extends Object implements StreamIterator
| Constructor and Description |
|---|
FileIterator(File file,
Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Cleanup any open resources of the iterator
|
protected static void |
create(List list,
File dir,
Filter filter) |
protected static void |
create(List list,
File dir,
Filter filter,
String prefix) |
InputStream |
next()
User is resposible for closing the InputStream returned
|
protected static void create(List list, File dir, Filter filter) throws Exception
Exceptionprotected static void create(List list, File dir, Filter filter, String prefix) throws Exception
Exceptionpublic InputStream next()
StreamIteratornext in interface StreamIteratorpublic void close()
StreamIteratorclose in interface StreamIteratorCopyright © 2015. All Rights Reserved.