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
Exception
protected static void create(List list, File dir, Filter filter, String prefix) throws Exception
Exception
public InputStream next()
StreamIterator
next
in interface StreamIterator
public void close()
StreamIterator
close
in interface StreamIterator
Copyright © 2015. All Rights Reserved.