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:
Cloneable, DataProducer

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

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

Author:
Torsten Curdt

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 addMapper(Mapper pMapper)
           
 void produce(DataConsumer pReceiver)
           
 void setSrc(File pSrc)
           
 void setType(String pType)
           
 
Methods inherited from class org.apache.tools.ant.types.PatternSet
addConfiguredInvert, 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(File pSrc)

setType

public void setType(String pType)

addMapper

public void addMapper(Mapper pMapper)

produce

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


Copyright © 2012. All Rights Reserved.