com.norconex.importer.parser.impl
Class FallbackParser

java.lang.Object
  extended by com.norconex.importer.parser.impl.AbstractTikaParser
      extended by com.norconex.importer.parser.impl.FallbackParser
All Implemented Interfaces:
IDocumentParser, Serializable

public class FallbackParser
extends AbstractTikaParser

Parser using auto-detection of document content-type to figure out which specific parser to invoke to best parse a document. Use this class only when you do not know the content-type of a document to be imported.

Author:
Pascal Essiembre
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.norconex.importer.parser.impl.AbstractTikaParser
AbstractTikaParser.RecursiveMetadataParser
 
Field Summary
 
Fields inherited from interface com.norconex.importer.parser.IDocumentParser
RDF_BASE_URI, RDF_SUBJECT_CONTENT
 
Constructor Summary
FallbackParser(String format)
          Creates a new parser.
 
Method Summary
 
Methods inherited from class com.norconex.importer.parser.impl.AbstractTikaParser
addTikaMetadata, parseDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FallbackParser

public FallbackParser(String format)
Creates a new parser.

Parameters:
format - one of parser's supported format


Copyright © 2009-2013 Norconex Inc.. All Rights Reserved.