net.sf.sfac.file
Class LineReaderFilteringHtml

java.lang.Object
  extended by net.sf.sfac.file.LineReader
      extended by net.sf.sfac.file.LineReaderFilteringHtml

public class LineReaderFilteringHtml
extends LineReader

An implementation of LineReader filtering out all HTML tags to transform HTML to plain text.


Constructor Summary
LineReaderFilteringHtml(BufferedReader reader)
           
LineReaderFilteringHtml(Class<?> loader, String resourceName)
           
LineReaderFilteringHtml(File src)
           
LineReaderFilteringHtml(URL src)
           
 
Method Summary
protected  String readLineImpl()
           
 
Methods inherited from class net.sf.sfac.file.LineReader
close, getLineIndex, getReaderEncoding, getSourceName, peekLine, peekNextLine, readLine, setReaderEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineReaderFilteringHtml

public LineReaderFilteringHtml(BufferedReader reader)
                        throws IOException
Throws:
IOException

LineReaderFilteringHtml

public LineReaderFilteringHtml(Class<?> loader,
                               String resourceName)
                        throws IOException
Throws:
IOException

LineReaderFilteringHtml

public LineReaderFilteringHtml(File src)
                        throws IOException
Throws:
IOException

LineReaderFilteringHtml

public LineReaderFilteringHtml(URL src)
                        throws IOException
Throws:
IOException
Method Detail

readLineImpl

protected String readLineImpl()
                       throws IOException
Overrides:
readLineImpl in class LineReader
Throws:
IOException


Copyright © 2012. All Rights Reserved.