com.mchange.v2.io
Interface FileIterator

All Superinterfaces:
ClosableResource, UIterator

public interface FileIterator
extends UIterator


Field Summary
static FileIterator EMPTY_FILE_ITERATOR
           
 
Method Summary
 void close()
          forces the release of any resources that might be associated with this object.
 boolean hasNext()
           
 Object next()
           
 File nextFile()
           
 void remove()
           
 

Field Detail

EMPTY_FILE_ITERATOR

static final FileIterator EMPTY_FILE_ITERATOR
Method Detail

nextFile

File nextFile()
              throws IOException
Throws:
IOException

hasNext

boolean hasNext()
                throws IOException
Specified by:
hasNext in interface UIterator
Throws:
IOException

next

Object next()
            throws IOException
Specified by:
next in interface UIterator
Throws:
IOException

remove

void remove()
            throws IOException
Specified by:
remove in interface UIterator
Throws:
IOException

close

void close()
           throws IOException
Description copied from interface: ClosableResource
forces the release of any resources that might be associated with this object.

Specified by:
close in interface ClosableResource
Specified by:
close in interface UIterator
Throws:
IOException