Package org.apache.poi.ss.usermodel
Class ExcelGeneralNumberFormat
- java.lang.Object
-
- java.text.Format
-
- org.apache.poi.ss.usermodel.ExcelGeneralNumberFormat
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ExcelGeneralNumberFormat extends Format
A format that formats a double as Excel would, ignoring FieldPosition. All other operations are unsupported.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.text.Format
Format.Field
-
-
Constructor Summary
Constructors Constructor Description ExcelGeneralNumberFormat(Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuffer
format(Object number, StringBuffer toAppendTo, FieldPosition pos)
Object
parseObject(String source, ParsePosition pos)
-
Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
-
-
-
-
Constructor Detail
-
ExcelGeneralNumberFormat
public ExcelGeneralNumberFormat(Locale locale)
-
-
Method Detail
-
format
public StringBuffer format(Object number, StringBuffer toAppendTo, FieldPosition pos)
-
parseObject
public Object parseObject(String source, ParsePosition pos)
- Specified by:
parseObject
in classFormat
-
-