org.compass.core.config.binding.scanner
Class JarScanner

java.lang.Object
  extended by org.compass.core.config.binding.scanner.JarScanner
All Implemented Interfaces:
Scanner

public class JarScanner
extends Object
implements Scanner

Author:
kimchy

Constructor Summary
JarScanner(String basePackage, InputStream is, Filter filter)
           
 
Method Summary
 void close()
          Cleanup any open resources of the iterator
 ScanItem next()
          User is resposible for closing the InputStream returned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarScanner

public JarScanner(String basePackage,
                  InputStream is,
                  Filter filter)
           throws IOException
Throws:
IOException
Method Detail

next

public ScanItem next()
Description copied from interface: Scanner
User is resposible for closing the InputStream returned

Specified by:
next in interface Scanner
Returns:
null if no more streams left to iterate on

close

public void close()
Description copied from interface: Scanner
Cleanup any open resources of the iterator

Specified by:
close in interface Scanner


Copyright (c) 2004-2008 The Compass Project.