donaldp 02/01/27 01:36:48
Added: proposal/myrmidon/src/java/org/apache/myrmidon/framework
AbstractFileSet.java
Log:
Add an abstract base class for all file sets
Revision Changes Path
1.1
jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/AbstractFileSet.java
Index: AbstractFileSet.java
===================================================================
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.myrmidon.framework;
/**
* An abstract base class for all FileSets.
* FileSets represent a pattern anchored by a root.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
* @version $Revision: 1.1 $ $Date: 2002/01/27 09:36:48 $
*/
public class AbstractFileSet
extends PatternSet
{
private boolean m_defaultExcludes = true;
/**
* Add the default excludes to FileSet.
*/
public final void setDefaultExcludes( final boolean defaultExcludes )
{
m_defaultExcludes = defaultExcludes;
}
public final boolean includeDefaultExcludes()
{
return m_defaultExcludes;
}
/**
* Merge specified PatternSet into this patternSet.
*/
public final void addPatternSet( final PatternSet set )
{
append( set );
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>