Package org.apache.tika.parser.microsoft
Class TikaExcelGeneralFormat
- java.lang.Object
-
- java.text.Format
-
- org.apache.tika.parser.microsoft.TikaExcelGeneralFormat
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TikaExcelGeneralFormat extends Format
A Format that allows up to 15 significant digits for integers. This goes against the Microsoft spec, but it preserves information for long strings of digits.This was derived from POI's ExcelGeneralNumberFormat
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.text.Format
Format.Field
-
-
Constructor Summary
Constructors Constructor Description TikaExcelGeneralFormat(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
-
TikaExcelGeneralFormat
public TikaExcelGeneralFormat(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
-
-