org.apache.tools.ant.filters

Class ReplaceTokens.Token

public static class ReplaceTokens.Token extends Object

Holds a token
Method Summary
StringgetKey()
Returns the key for this token.
StringgetValue()
Returns the value for this token.
voidsetKey(String key)
Sets the token key
voidsetValue(String value)
Sets the token value

Method Detail

getKey

public final String getKey()
Returns the key for this token.

Returns: the key for this token

getValue

public final String getValue()
Returns the value for this token.

Returns: the value for this token

setKey

public final void setKey(String key)
Sets the token key

Parameters: key The key for this token. Must not be null.

setValue

public final void setValue(String value)
Sets the token value

Parameters: value The value for this token. Must not be null.