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
  • Constructor Details

    • 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