public class EnumFormatter extends java.lang.Object implements Formatter<java.lang.Enum<?>>
Constructor and Description |
---|
EnumFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.Enum<?> input)
Formats the supplied value as a String.
|
void |
init()
Does nothing since no initialization is needed.
|
void |
setFormatPattern(java.lang.String formatPattern)
Does nothing.
|
void |
setFormatType(java.lang.String formatType)
Does nothing.
|
void |
setLocale(java.util.Locale locale)
Does nothing.
|
public void setFormatType(java.lang.String formatType)
setFormatType
in interface Formatter<java.lang.Enum<?>>
public void setFormatPattern(java.lang.String formatPattern)
setFormatPattern
in interface Formatter<java.lang.Enum<?>>
public void setLocale(java.util.Locale locale)
public void init()
public java.lang.String format(java.lang.Enum<?> input)
? Copyright 2005-2006, Stripes Development Team.