degu.util.textstripper
Class TextStripper

java.lang.Object
  extended by degu.util.textstripper.TextStripper
Direct Known Subclasses:
PageSupportedTextStripper

public abstract class TextStripper
extends java.lang.Object

base class for all text strippers


Constructor Summary
TextStripper()
           
 
Method Summary
abstract  void initialize()
          Does initialization, this method must be called before any other method
abstract  java.lang.String stripAsString(java.io.InputStream is)
          returns contents of fis as String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextStripper

public TextStripper()
Method Detail

initialize

public abstract void initialize()
                         throws TextStripperInitializeException
Does initialization, this method must be called before any other method

Throws:
TextStripperInitializeException

stripAsString

public abstract java.lang.String stripAsString(java.io.InputStream is)
                                        throws FailedToStripText
returns contents of fis as String

Parameters:
is -
Returns:
Throws:
FailedToStripText