Package org.apache.tools.ant.types
Class PropertySet.PropertyRef
java.lang.Object
org.apache.tools.ant.types.PropertySet.PropertyRef
- Enclosing class:
- PropertySet
public static class PropertySet.PropertyRef
extends java.lang.Object
This is a nested class containing a reference to some properties
and optionally a source of properties.
-
Constructor Summary
Constructors Constructor Description PropertyRef() -
Method Summary
Modifier and Type Method Description voidsetBuiltin(PropertySet.BuiltinPropertySetName b)Builtin property names - all, system or commandline.voidsetName(java.lang.String name)Set the name.voidsetPrefix(java.lang.String prefix)Set the prefix to use.voidsetRegex(java.lang.String regex)Set the regular expression to use to filter the properties.java.lang.StringtoString()A debug toString().
-
Constructor Details
-
PropertyRef
public PropertyRef()
-
-
Method Details
-
setName
public void setName(java.lang.String name)Set the name.- Parameters:
name- aStringvalue.
-
setRegex
public void setRegex(java.lang.String regex)Set the regular expression to use to filter the properties.- Parameters:
regex- a regular expression.
-
setPrefix
public void setPrefix(java.lang.String prefix)Set the prefix to use.- Parameters:
prefix- aStringvalue.
-
setBuiltin
Builtin property names - all, system or commandline.- Parameters:
b- an enumeratedBuildinPropertySetNamevalue.
-
toString
public java.lang.String toString()A debug toString().- Overrides:
toStringin classjava.lang.Object- Returns:
- a string version of this object.
-