public class LocatorFormatter extends java.lang.Object implements AdvancedMessageFormat.ObjectFormatter
| Constructor and Description |
|---|
LocatorFormatter() |
| Modifier and Type | Method and Description |
|---|---|
void |
format(java.lang.StringBuffer sb,
java.lang.Object obj)
Formats an object to a string and writes the result to a string buffer.
|
boolean |
supportsObject(java.lang.Object obj)
Indicates whether a given object is supported.
|
public void format(java.lang.StringBuffer sb,
java.lang.Object obj)
format in interface AdvancedMessageFormat.ObjectFormattersb - the target string bufferobj - the object to be formattedpublic boolean supportsObject(java.lang.Object obj)
supportsObject in interface AdvancedMessageFormat.ObjectFormatterobj - the objectCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.