org.apache.tools.ant.filters

Class ReplaceTokens.Token

Enclosing Class:
ReplaceTokens

public static class ReplaceTokens.Token
extends java.lang.Object

Holds a token

Method Summary

String
getKey()
Returns the key for this token.
String
getValue()
Returns the value for this token.
void
setKey(String key)
Sets the token key
void
setValue(String value)
Sets the token value

Method Details

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.


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