org.apache.tools.ant.types

Class FilterSet.Filter

public static class FilterSet.Filter extends Object

Individual filter component of filterset.
Constructor Summary
Filter(String token, String value)
Constructor for the Filter object.
Filter()
No-argument conmstructor.
Method Summary
StringgetToken()
Gets the Token attribute of the Filter object.
StringgetValue()
Gets the Value attribute of the Filter object.
voidsetToken(String token)
Sets the Token attribute of the Filter object.
voidsetValue(String value)
Sets the Value attribute of the Filter object.

Constructor Detail

Filter

public Filter(String token, String value)
Constructor for the Filter object.

Parameters: token The token which will be replaced when filtering. value The value which will replace the token when filtering.

Filter

public Filter()
No-argument conmstructor.

Method Detail

getToken

public String getToken()
Gets the Token attribute of the Filter object.

Returns: The Token value.

getValue

public String getValue()
Gets the Value attribute of the Filter object.

Returns: The Value value.

setToken

public void setToken(String token)
Sets the Token attribute of the Filter object.

Parameters: token The new Token value.

setValue

public void setValue(String value)
Sets the Value attribute of the Filter object.

Parameters: value The new Value value.

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.