org.apache.avalon.composition.data
Class ExcludeDirective

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

public class ExcludeDirective
extends Object
implements Serializable

A file exclude directive.

XML

An exclude element is normally contained within a scoping structure such as a fileset or directory set. The exclude element contains the single attribute name which is used to refer to the file or directory (depending on the containing context.

    <fileset dir="lib">
       <exclude name="avalon-framework.jar" />
    </fileset>
 

Version:
$Revision: 1.1 $ $Date: 2004/04/16 19:55:11 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
ExcludeDirective(String path)
          Create an ExcludeDirective instance.
 
Method Summary
 String getPath()
          Return the excluded path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcludeDirective

public ExcludeDirective(String path)
Create an ExcludeDirective instance.

Parameters:
path - the path to include
Method Detail

getPath

public String getPath()
Return the excluded path.

Returns:
the path


Copyright © The Apache Software Foundation. All Rights Reserved.