org.apache.nutch.parse.msword
Class MSWordParser

java.lang.Object
  extended by org.apache.nutch.parse.ms.MSBaseParser
      extended by org.apache.nutch.parse.msword.MSWordParser
All Implemented Interfaces:
Configurable, Parser, Pluggable

public class MSWordParser
extends MSBaseParser

Parser for mime type application/msword. It is based on org.apache.poi.*. We have to see how well it performs.

Author:
John Xing, Andy Hedges, Jérôme Charron

Field Summary
static String MIME_TYPE
          Associated Mime type for Word files (application/msword).
 
Fields inherited from class org.apache.nutch.parse.ms.MSBaseParser
LOG
 
Fields inherited from interface org.apache.nutch.parse.Parser
X_POINT_ID
 
Constructor Summary
MSWordParser()
           
 
Method Summary
 Parse getParse(Content content)
          Creates the parse for some content.
static void main(String[] args)
          Main for testing.
 
Methods inherited from class org.apache.nutch.parse.ms.MSBaseParser
getConf, getParse, main, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIME_TYPE

public static final String MIME_TYPE
Associated Mime type for Word files (application/msword).

See Also:
Constant Field Values
Constructor Detail

MSWordParser

public MSWordParser()
Method Detail

getParse

public Parse getParse(Content content)
Description copied from interface: Parser
Creates the parse for some content.


main

public static void main(String[] args)
Main for testing. Pass an word document as argument



Copyright © 2006 The Apache Software Foundation