|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Formatter provides an interface for using various formatting classes
| Field Summary | |
static int |
STATUS_INVALID_CONVERSION
|
static int |
STATUS_INVALID_DATE
|
static int |
STATUS_INVALID_EXPRESSION
|
static int |
STATUS_SUCCESS
|
static int |
TYPE_FMT
|
static int |
TYPE_ICONV
|
static int |
TYPE_OCONV
|
static int |
TYPE_PRINT
|
| Method Summary | |
mvString |
format(mvString result,
mvString status,
ConstantString input)
Format the specified input string |
ConstantString |
getPattern()
Return the formatter conversion pattern |
int |
getType()
Return the type of the formatter |
boolean |
isNullOnError()
On error whether null or the input string is returned |
| Field Detail |
public static final int TYPE_FMT
public static final int TYPE_ICONV
public static final int TYPE_OCONV
public static final int TYPE_PRINT
public static final int STATUS_SUCCESS
public static final int STATUS_INVALID_EXPRESSION
public static final int STATUS_INVALID_CONVERSION
public static final int STATUS_INVALID_DATE
| Method Detail |
public mvString format(mvString result,
mvString status,
ConstantString input)
throws mvException
result - string to store the resultstatus - errorcode if the foramt failedinput - string to format
mvExceptionpublic boolean isNullOnError()
public int getType()
public ConstantString getPattern()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||