java.lang.Cloneable
, TokenFilter.Filter
public static class TokenFilter.ContainsString extends ProjectComponent implements TokenFilter.Filter
description, location, project
Constructor | Description |
---|---|
ContainsString() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
filter(java.lang.String string) |
Filter strings that contain the contains attribute
|
void |
setContains(java.lang.String contains) |
the contains attribute
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public void setContains(java.lang.String contains)
contains
- the string that the token should containpublic java.lang.String filter(java.lang.String string)
filter
in interface TokenFilter.Filter
string
- the string to be filtered