org.compass.core.config.binding.scanner
Class JarScanner
java.lang.Object
org.compass.core.config.binding.scanner.JarScanner
- All Implemented Interfaces:
- Scanner
public class JarScanner
- extends Object
- implements Scanner
- Author:
- kimchy
|
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 |
JarScanner
public JarScanner(String basePackage,
InputStream is,
Filter filter)
throws IOException
- Throws:
IOException
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.