Package org.apache.openjpa.lib.meta
Class ClasspathMetaDataIterator
java.lang.Object
org.apache.openjpa.lib.meta.MetaDataIteratorChain
org.apache.openjpa.lib.meta.ClasspathMetaDataIterator
- All Implemented Interfaces:
MetaDataIterator
,Closeable
Iterator over directories in the classpath.
- Author:
- Abe White
-
Constructor Summary
ConstructorDescriptionDefault constructor; iterates over all classpath elements.ClasspathMetaDataIterator
(String[] dirs, MetaDataFilter filter) Constructor; supply the classpath directories to scan and an optional resource filter. -
Method Summary
Methods inherited from class org.apache.openjpa.lib.meta.MetaDataIteratorChain
addIterator, close, getFile, getInputStream, hasNext, next
-
Constructor Details
-
ClasspathMetaDataIterator
Default constructor; iterates over all classpath elements.- Throws:
IOException
-
ClasspathMetaDataIterator
Constructor; supply the classpath directories to scan and an optional resource filter. The given directories may be null to scan all classpath directories.- Throws:
IOException
-