Class FilterSet.Filter

java.lang.Object
org.apache.tools.ant.types.FilterSet.Filter
Enclosing class:
FilterSet

public static class FilterSet.Filter extends Object
Individual filter component of filterset.
  • Constructor Details

    • 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 constructor.
  • Method Details

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