Package org.apache.tika.parser.dbf
Class DBFParser
- java.lang.Object
-
- org.apache.tika.parser.AbstractParser
-
- org.apache.tika.parser.dbf.DBFParser
-
- All Implemented Interfaces:
Serializable,org.apache.tika.parser.Parser
public class DBFParser extends org.apache.tika.parser.AbstractParserThis is a Tika wrapper around the DBFReader.This reads many dbase3 file variants (not DBASE 7, yet!).
It caches the first 10 rows and then runs encoding dectection on the "character" cells.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DBFParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<org.apache.tika.mime.MediaType>getSupportedTypes(org.apache.tika.parser.ParseContext context)voidparse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context)
-
-
-
Method Detail
-
getSupportedTypes
public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
-
parse
public void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context) throws IOException, SAXException, org.apache.tika.exception.TikaException
- Throws:
IOExceptionSAXExceptionorg.apache.tika.exception.TikaException
-
-