org.apache.tools.ant.filters
public static class TokenFilter.ContainsString extends ProjectComponent implements TokenFilter.Filter
| Method Summary | |
|---|---|
| String | filter(String string)
Filter strings that contain the contains attribute
|
| void | setContains(String contains)
the contains attribute |
Parameters: string the string to be filtered
Returns: null if the string does not contain "contains", string otherwise
Parameters: contains the string that the token should contain