com.arsdigita.persistence.pdl
Class DirSource

java.lang.Object
  extended bycom.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>

Field Summary
static String versionId
           
 
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
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

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 directory
filter - the PDLFilter used to restrict results
Method Detail

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 20 2004:2337 UTC