Package org.apache.tika.parser.microsoft
Class TikaExcelGeneralFormat
- java.lang.Object
-
- java.text.Format
-
- org.apache.tika.parser.microsoft.TikaExcelGeneralFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class TikaExcelGeneralFormat extends java.text.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
-
-
Constructor Summary
Constructors Constructor Description TikaExcelGeneralFormat(java.util.Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuffer
format(java.lang.Object number, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
java.lang.Object
parseObject(java.lang.String source, java.text.ParsePosition pos)
-
-
-
Method Detail
-
format
public java.lang.StringBuffer format(java.lang.Object number, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
- Specified by:
format
in classjava.text.Format
-
parseObject
public java.lang.Object parseObject(java.lang.String source, java.text.ParsePosition pos)
- Specified by:
parseObject
in classjava.text.Format
-
-