org.compass.core.config.binding.scanner
Interface Scanner

All Known Implementing Classes:
FileScanner, JarScanner

public interface Scanner

Simpler iterator than java.util.iterator.

Author:
kimchy

Method Summary
 void close()
          Cleanup any open resources of the iterator
 ScanItem next()
          User is resposible for closing the InputStream returned
 

Method Detail

next

ScanItem next()
User is resposible for closing the InputStream returned

Returns:
null if no more streams left to iterate on

close

void close()
Cleanup any open resources of the iterator



Copyright (c) 2004-2008 The Compass Project.