Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.jbo.format
Class PercentageFormatter

java.lang.Object
  extended by java.text.Format
      extended by oracle.jbo.format.Formatter
          extended by oracle.jbo.format.DefaultPercentageFormatter
              extended by oracle.jbo.format.PercentageFormatter

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class PercentageFormatter
extends DefaultPercentageFormatter
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class java.text.Format
java.text.Format.Field

 

Constructor Summary
PercentageFormatter()
          Constructor

 

Method Summary
protected  void configureFormatter(java.lang.String formatString)
           
 java.lang.Object parse(java.lang.String formatString, java.lang.String parseThisString)
          parse this string according to the format specified and return an object
 java.lang.Object parseObject(java.lang.String formatThisString, java.text.ParsePosition status)
           

 

Methods inherited from class oracle.jbo.format.DefaultPercentageFormatter
format, format, getLocale, getPercentageFormatHelper, setLocale

 

Methods inherited from class oracle.jbo.format.Formatter
getDefaultFormatString

 

Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PercentageFormatter

public PercentageFormatter()
Constructor

Method Detail

parse

public java.lang.Object parse(java.lang.String formatString,
                              java.lang.String parseThisString)
                       throws java.text.ParseException
parse this string according to the format specified and return an object
Overrides:
parse in class DefaultPercentageFormatter
Parameters:
formatString - code to define how the raw data should be parsed.
parseThisString - data which needs to be parsed.
Returns:
object which represents the string parsed.
Throws:
java.text.ParseException - when unable to parse data according to the format specified.

parseObject

public java.lang.Object parseObject(java.lang.String formatThisString,
                                    java.text.ParsePosition status)
Overrides:
parseObject in class DefaultPercentageFormatter
Parameters:
formatThisString - data which needs to be parsed
status - parse to start from this position Usage of this API is not entirely thread safe.
Returns:
object which represents the string parsed

configureFormatter

protected void configureFormatter(java.lang.String formatString)
Overrides:
configureFormatter in class DefaultPercentageFormatter

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


Copyright © 1997, 2011, Oracle. All rights reserved.