org.apache.tools.ant.types

Class 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.

Method Summary

void
setBuiltin(PropertySet.BuiltinPropertySetName b)
Builtin property names - all, system or commandline.
void
setName(String name)
Set the name.
void
setPrefix(String prefix)
Set the prefix to use.
void
setRegex(String regex)
Set the regular expression to use to filter the properties.
String
toString()
A debug toString().

Method Details

setBuiltin

public void setBuiltin(PropertySet.BuiltinPropertySetName b)
Builtin property names - all, system or commandline.
Parameters:
b - an enumerated BuildinPropertySetName value.

setName

public void setName(String name)
Set the name.
Parameters:
name - a String value.

setPrefix

public void setPrefix(String prefix)
Set the prefix to use.
Parameters:
prefix - a String value.

setRegex

public void setRegex(String regex)
Set the regular expression to use to filter the properties.
Parameters:
regex - a regular expression.

toString

public String toString()
A debug toString().
Returns:
a string version of this object.

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.