liuslite.parser.opendocument
Class OpenOfficeParser

java.lang.Object
  extended by liuslite.parser.Parser
      extended by liuslite.parser.opendocument.OpenOfficeParser

public class OpenOfficeParser
extends Parser

OpenOffice parser

Author:
Rida Benjelloun (ridabenjelloun@apache.org)

Constructor Summary
OpenOfficeParser()
           
 
Method Summary
 Content getContent(java.lang.String name)
          Get a content object, this object is configured from the LiusConfig Xml.
 java.util.List<Content> getContents()
          Get a List of contents objects, this objects are configured from the LiusConfig Xml file.
 java.lang.String getStrContent()
          Get the string content of the document
 org.jdom.Document parse(java.io.InputStream is)
           
 java.util.List unzip(java.io.InputStream is)
           
 
Methods inherited from class liuslite.parser.Parser
configure, getInputStream, getMimeType, getParserConfig, setInputStream, setMimeType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenOfficeParser

public OpenOfficeParser()
Method Detail

parse

public org.jdom.Document parse(java.io.InputStream is)

getContents

public java.util.List<Content> getContents()
Description copied from class: Parser
Get a List of contents objects, this objects are configured from the LiusConfig Xml file. It could be a document metadata, XPath selection, regex selection or fulltext

Specified by:
getContents in class Parser

getStrContent

public java.lang.String getStrContent()
Description copied from class: Parser
Get the string content of the document

Specified by:
getStrContent in class Parser

unzip

public java.util.List unzip(java.io.InputStream is)

getContent

public Content getContent(java.lang.String name)
Description copied from class: Parser
Get a content object, this object is configured from the LiusConfig Xml. It could be a document metadata, XPath selection, regex selection or fulltext

Specified by:
getContent in class Parser