|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.text.Format
oracle.dacf.formatter.Formatter
Formatter
Formatter interface defines functions for formatting support
| Nested Class Summary |
| Nested classes inherited from class java.text.Format |
java.text.Format.Field |
| Constructor Summary | |
Formatter()
|
|
| Method Summary | |
abstract java.lang.String |
format(java.lang.String formatString,
java.lang.Object rawData)
format raw data according to the format specified. |
abstract java.util.Locale |
getLocale()
|
abstract java.lang.Object |
parse(java.lang.String formatString,
java.lang.String parseThisString)
parse this string according to the format specified and return an object |
abstract void |
setLocale(java.util.Locale thisLocale)
define locale to be used. |
| Methods inherited from class java.text.Format |
clone, format, format, formatToCharacterIterator, parseObject, parseObject |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Formatter()
| Method Detail |
public abstract java.lang.String format(java.lang.String formatString,
java.lang.Object rawData)
throws FormatErrorException
Data is formatted per the 'format string' passed as an argument to this function.
formatString - code to define how the raw data should be formatted.rawData - data which needs to be formatted.
FormatErrorException - if unable to format the data according to
the format specified.
public abstract java.lang.Object parse(java.lang.String formatString,
java.lang.String parseThisString)
throws java.text.ParseException
formatString - code to define how the raw data should be parsed.parseThisString - data which needs to be parsed.
java.text.ParseException - when unable to parse data according to
the format specified.
public abstract void setLocale(java.util.Locale thisLocale)
throws UnknownLocaleException
thisLocale - locale to be used
UnknownLocaleException - if the formatter does'nt support the
specified Locale.public abstract java.util.Locale getLocale()
|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2003, Oracle. All rights reserved.