org.apache.tika.parser.odf
Class OpenDocumentContentParser

java.lang.Object
  extended by org.apache.tika.parser.AbstractParser
      extended by org.apache.tika.parser.odf.OpenDocumentContentParser
All Implemented Interfaces:
Serializable, org.apache.tika.parser.Parser

public class OpenDocumentContentParser
extends org.apache.tika.parser.AbstractParser

Parser for ODF content.xml files.

See Also:
Serialized Form

Field Summary
static String DRAW_NS
           
static String OFFICE_NS
           
static String PRESENTATION_NS
           
static String SVG_NS
           
protected static char[] TAB
           
static String TABLE_NS
           
static String TEXT_NS
           
static String XLINK_NS
           
 
Constructor Summary
OpenDocumentContentParser()
           
 
Method Summary
 Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
           
 void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context)
           
 
Methods inherited from class org.apache.tika.parser.AbstractParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_NS

public static final String TEXT_NS
See Also:
Constant Field Values

TABLE_NS

public static final String TABLE_NS
See Also:
Constant Field Values

OFFICE_NS

public static final String OFFICE_NS
See Also:
Constant Field Values

SVG_NS

public static final String SVG_NS
See Also:
Constant Field Values

PRESENTATION_NS

public static final String PRESENTATION_NS
See Also:
Constant Field Values

DRAW_NS

public static final String DRAW_NS
See Also:
Constant Field Values

XLINK_NS

public static final String XLINK_NS
See Also:
Constant Field Values

TAB

protected static final char[] TAB
Constructor Detail

OpenDocumentContentParser

public OpenDocumentContentParser()
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:
IOException
SAXException
org.apache.tika.exception.TikaException


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.