org.apache.avalon.composition.data
Class FilesetDirective

java.lang.Object
  extended byorg.apache.avalon.composition.data.FilesetDirective
All Implemented Interfaces:
Serializable

public class FilesetDirective
extends Object
implements Serializable

A fileset directive is a scoped defintion of a set of files. A fileset a structurally defined as a base directory and a set of relative filenames represented as include directives.

XML

   <fileset dir="lib">
     <include name="avalon-framework.jar"/>
     <include name="logkit.jar"/>
   </dirset>
 

Version:
$Revision: 1.1.1.1 $ $Date: 2003/09/24 09:31:06 $
Author:
Stephen McConnell
See Also:
IncludeDirective, Serialized Form

Constructor Summary
FilesetDirective(String base, IncludeDirective[] includes)
          Create a FilesetDirective instance.
 
Method Summary
 String getBaseDirectory()
          Return the base directory.
 IncludeDirective[] getIncludes()
          Return the set of include directives.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilesetDirective

public FilesetDirective(String base,
                        IncludeDirective[] includes)
Create a FilesetDirective instance.

Parameters:
base - the base directory path against which includes are evaluated
includes - the set of includes to include in the fileset
Method Detail

getBaseDirectory

public String getBaseDirectory()
Return the base directory.

Returns:
the directory

getIncludes

public IncludeDirective[] getIncludes()
Return the set of include directives.

Returns:
the include set


Copyright © Apache Software Foundation. All Rights Reserved.