| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.openedge.baritus.converters.BaseLocaleConverter
nl.openedge.baritus.converters.DecimalLocaleConverter
nl.openedge.baritus.converters.ByteLocaleConverter
localized byte converter
| Field Summary | 
| Fields inherited from class nl.openedge.baritus.converters.DecimalLocaleConverter | 
| nonDigitPattern | 
| Fields inherited from class nl.openedge.baritus.converters.BaseLocaleConverter | 
| locale, locPattern, pattern | 
| Constructor Summary | |
| ByteLocaleConverter()Create a LocaleConverterthat will throw aConversionExceptionif a conversion error occurs. | |
| ByteLocaleConverter(java.util.Locale locale)Create a LocaleConverterthat will throw aConversionExceptionif a conversion error occurs. | |
| ByteLocaleConverter(java.util.Locale locale,
                    java.lang.String pattern)Create a LocaleConverterthat will throw aConversionExceptionif a conversion error occurs. | |
| ByteLocaleConverter(java.util.Locale locale,
                    java.lang.String pattern,
                    boolean locPattern)Create a LocaleConverterthat will throw aConversionExceptionif a conversion error occurs. | |
| Method Summary | |
|  java.lang.Object | convert(java.lang.Class type,
        java.lang.Object value,
        java.lang.String pattern)Convert the specified locale-sensitive input object into an output object of the specified type. | 
| protected  java.lang.Object | parse(java.lang.Object value,
      java.lang.String pattern)Convert the specified locale-sensitive input object into an output object of the specified type. | 
| Methods inherited from class nl.openedge.baritus.converters.DecimalLocaleConverter | 
| format, getFormat, getNumber | 
| Methods inherited from class nl.openedge.baritus.converters.BaseLocaleConverter | 
| convert, convert, convert, getLocale, getPattern, setLocale, setPattern | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public ByteLocaleConverter()
LocaleConverter
 that will throw a ConversionException
 if a conversion error occurs. The locale is the default locale for
 this instance of the Java Virtual Machine and an unlocalized pattern is used
 for the convertion.
public ByteLocaleConverter(java.util.Locale locale)
LocaleConverter
 that will throw a ConversionException
 if a conversion error occurs. An unlocalized pattern is used for the convertion.
locale - The locale
public ByteLocaleConverter(java.util.Locale locale,
                           java.lang.String pattern)
LocaleConverter
 that will throw a ConversionException
 if a conversion error occurs. An unlocalized pattern is used for the convertion.
locale - The localepattern - The convertion pattern
public ByteLocaleConverter(java.util.Locale locale,
                           java.lang.String pattern,
                           boolean locPattern)
LocaleConverter
 that will throw a ConversionException
 if a conversion error occurs.
locale - The localepattern - The convertion patternlocPattern - Indicate whether the pattern is localized or not| Method Detail | 
protected java.lang.Object parse(java.lang.Object value,
                                 java.lang.String pattern)
                          throws java.text.ParseException
parse in class DecimalLocaleConvertervalue - The input object to be convertedpattern - The pattern is used for the convertion
ConversionException - if conversion cannot be performed
  successfully
java.text.ParseException
public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value,
                                java.lang.String pattern)
type - Data type to which this value should be convertedvalue - The input object to be convertedpattern - The pattern is used for the convertion
ConversionException - if conversion cannot be performed
  successfully| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||