org.vafer.jdeb.ant
Class Data

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by org.apache.tools.ant.types.PatternSet
              extended by org.vafer.jdeb.ant.Data
All Implemented Interfaces:
java.lang.Cloneable, DataProducer

public final class Data
extends org.apache.tools.ant.types.PatternSet
implements DataProducer

Ant "data" elment acting as a factory for DataProducers. So far Archive and Directory producers are supported. Both support the usual ant pattern set matching.

Author:
tcurdt

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.tools.ant.types.PatternSet
org.apache.tools.ant.types.PatternSet.NameEntry
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Data()
           
 
Method Summary
 void produce(DataConsumer pReceiver)
           
 void setMapper(Mapper pMapper)
           
 void setPrefix(java.lang.String pPrefix)
          Deprecated.  
 void setSrc(java.io.File pSrc)
           
 void setStrip(int pStrip)
          Deprecated.  
 
Methods inherited from class org.apache.tools.ant.types.PatternSet
addConfiguredPatternset, append, clone, createExclude, createExcludesFile, createInclude, createIncludesFile, getExcludePatterns, getIncludePatterns, hasPatterns, setExcludes, setExcludesfile, setIncludes, setIncludesfile, setRefid, toString
 
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, tooManyAttributes
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Data

public Data()
Method Detail

setSrc

public void setSrc(java.io.File pSrc)

setMapper

public void setMapper(Mapper pMapper)

produce

public void produce(DataConsumer pReceiver)
Specified by:
produce in interface DataProducer

setPrefix

public void setPrefix(java.lang.String pPrefix)
Deprecated. 


setStrip

public void setStrip(int pStrip)
Deprecated. 



Copyright © 2007. All Rights Reserved.