com.arsdigita.persistence.pdl
Class DirSource
java.lang.Object
com.arsdigita.persistence.pdl.DirSource
- All Implemented Interfaces:
- PDLSource
- public class DirSource
- extends Object
- implements PDLSource
An implementation of PDLSource that loads all files under a
directory.
- Version:
- $Revision: #7 $ $Date: 2004/04/07 $
- Author:
- Rafael H. Schloming <rhs@mit.edu>
Constructor Summary |
DirSource(File dir,
PDLFilter filter)
Constructs a new PDLSource that loads all files under
dir that meet the criteria specified by
filter . |
Method Summary |
void |
parse(PDLCompiler compiler)
Parses the contents of this PDLSource using the given PDLCompiler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
DirSource
public DirSource(File dir,
PDLFilter filter)
- Constructs a new PDLSource that loads all files under
dir
that meet the criteria specified by
filter
.
- Parameters:
dir
- the base directoryfilter
- the PDLFilter used to restrict results
parse
public void parse(PDLCompiler compiler)
- Parses the contents of this PDLSource using the given PDLCompiler.
- Specified by:
parse
in interface PDLSource
- Parameters:
compiler
- the PDLCompiler used to parse this source
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC