it.haefelinger.flaka
Class Select

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by it.haefelinger.flaka.Task
              extended by it.haefelinger.flaka.Select
All Implemented Interfaces:
Cloneable

public class Select
extends Task

Create a new property by selecting a couple of existing ones ..

Since:
1.0
Author:
merzedes

Field Summary
protected  String property
           
protected  String regex
           
protected  String sep
           
 
Fields inherited from class it.haefelinger.flaka.Task
debug, el
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Select()
           
 
Method Summary
 void execute()
           
static String[] select_properties(Project P, String regex)
           
 void setProperty(String s)
           
 void setRegex(String s)
           
 void setSep(String s)
           
 
Methods inherited from class it.haefelinger.flaka.Task
debug, debug, error, error, getProperty, getref, info, log, setDebug, setEl, throwbx, throwbx, toFile, verbose, warn, warn
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

regex

protected String regex

property

protected String property

sep

protected String sep
Constructor Detail

Select

public Select()
Method Detail

setProperty

public void setProperty(String s)

setRegex

public void setRegex(String s)

setSep

public void setSep(String s)

select_properties

public static String[] select_properties(Project P,
                                         String regex)

execute

public void execute()
             throws BuildException
Overrides:
execute in class Task
Throws:
BuildException