org.outerj.daisy.textextraction.impl
Class XmlTextExtractor

java.lang.Object
  extended by org.outerj.daisy.textextraction.impl.XmlTextExtractor
All Implemented Interfaces:
MimetypeTextExtractor

public class XmlTextExtractor
extends java.lang.Object
implements MimetypeTextExtractor

Extracts all text between tags in an XML document. Only works (of course) for well formed XML documents.


Constructor Summary
XmlTextExtractor()
           
 
Method Summary
 java.lang.String getText(java.io.InputStream is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlTextExtractor

public XmlTextExtractor()
Method Detail

getText

public java.lang.String getText(java.io.InputStream is)
                         throws java.lang.Exception
Specified by:
getText in interface MimetypeTextExtractor
Throws:
java.lang.Exception


Copyright © -2012 . All Rights Reserved.