org.apache.tools.ant.types

Class FilterSet.Filter

Enclosing Class:
FilterSet

public static class FilterSet.Filter
extends java.lang.Object

Individual filter component of filterset

Constructor Summary

Filter()
No argument conmstructor
Filter(String token, String value)
Constructor for the Filter object

Method Summary

String
getToken()
Gets the Token attribute of the Filter object
String
getValue()
Gets the Value attribute of the Filter object
void
setToken(String token)
Sets the Token attribute of the Filter object
void
setValue(String value)
Sets the Value attribute of the Filter object

Constructor Details

Filter

public Filter()
No argument conmstructor


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

Method Details

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-2005 Apache Software Foundation. All Rights Reserved.