public class StringFormatterChain extends Object implements StringFormatter
StringFormatter
that aggregates an array of StringFormatter
objects,
which it uses to apply a series of operations on a string.
May be used by any of several classes that aggregate StringFormatters.
Implements StringFormatter
.
Property Summary | ||
---|---|---|
Property | Type | Default Value |
stringFormatters |
|
null |
Constructor and Description |
---|
StringFormatterChain() |
Modifier and Type | Method and Description |
---|---|
String |
format(UrlState pUrlState,
String pString) |
StringFormatter[] |
getStringFormatters() |
void |
setStringFormatters(StringFormatter[] pStringFormatters)
Specifies an array of StringFormatters to be applied.
|
public StringFormatter[] getStringFormatters()
public void setStringFormatters(StringFormatter[] pStringFormatters)
public String format(UrlState pUrlState, String pString) throws UrlFormatException
format
in interface StringFormatter
UrlFormatException
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.