Package org.apache.ofbiz.base.conversion
Class NumberConverters.StringToInteger
java.lang.Object
org.apache.ofbiz.base.conversion.AbstractConverter<S,T>
org.apache.ofbiz.base.conversion.AbstractLocalizedConverter<S,T>
org.apache.ofbiz.base.conversion.NumberConverters.AbstractNumberConverter<String,N>
org.apache.ofbiz.base.conversion.NumberConverters.AbstractStringToNumberConverter<Integer>
org.apache.ofbiz.base.conversion.NumberConverters.StringToInteger
- All Implemented Interfaces:
Converter<String,
,Integer> ConverterLoader
,LocalizedConverter<String,
Integer>
- Enclosing class:
- NumberConverters
public static class NumberConverters.StringToInteger
extends NumberConverters.AbstractStringToNumberConverter<Integer>
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.ofbiz.base.conversion.NumberConverters.AbstractStringToNumberConverter
convert
Methods inherited from class org.apache.ofbiz.base.conversion.NumberConverters.AbstractNumberConverter
convert
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractLocalizedConverter
convert, convert
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.ofbiz.base.conversion.Converter
canConvert, convert, getSourceClass, getTargetClass
-
Constructor Details
-
StringToInteger
public StringToInteger()
-
-
Method Details
-
convert
Description copied from interface:Converter
Convertsobj
toT
.- Parameters:
obj
- The sourceObject
to convert- Returns:
- The converted
Object
- Throws:
ConversionException
-
convert
- Specified by:
convert
in classNumberConverters.AbstractStringToNumberConverter<Integer>
- Throws:
ConversionException
-