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
public class ClasspathMetaDataIterator
- extends MetaDataIteratorChain
Iterator over directories in the classpath.
- Author:
- Abe White
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClasspathMetaDataIterator
public ClasspathMetaDataIterator()
throws IOException
- Default constructor; iterates over all classpath elements.
- Throws:
IOException
ClasspathMetaDataIterator
public ClasspathMetaDataIterator(String[] dirs,
MetaDataFilter filter)
throws IOException
- 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
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.