|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.simpleframework.xml.filter.SystemFilter
public class SystemFilter
The SystemFilter object is used to provide a filter
that will replace the specified values with system properties.
This can be given a delegate filter which can be used to resolve
replacements should the value requested not match a property.
| Constructor Summary | |
|---|---|
SystemFilter()
Constructor for the SystemFilter object. |
|
SystemFilter(Filter filter)
Constructor for the SystemFilter object. |
|
| Method Summary | |
|---|---|
java.lang.String |
replace(java.lang.String text)
Replaces the text provided with the value resolved from the system properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemFilter()
SystemFilter object. This
creates a filter that will resolve replacements using system
properties. Should the system properties not contain the
requested mapping this will return a null value.
public SystemFilter(Filter filter)
SystemFilter object. This
creates a filter that will resolve replacements using system
properties. Should the system properties not contain the
requested mapping this delegates to the specified filter.
filter - the filter delegated to if resolution fails| Method Detail |
|---|
public java.lang.String replace(java.lang.String text)
Filter if it is not
a null object. If no match is found a null is returned.
replace in interface Filtertext - this is the text value to be replaced
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||