org.apache.solr.analysis
Class HTMLStripReader
java.lang.Object
java.io.Reader
org.apache.solr.analysis.HTMLStripReader
- All Implemented Interfaces:
- Closeable, Readable
public class HTMLStripReader
- extends Reader
A Reader that wraps another reader and attempts to strip out HTML constructs.
- Version:
- $Id: HTMLStripReader.java 472574 2006-11-08 18:25:52Z yonik $
- Author:
- yonik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLStripReader
public HTMLStripReader(Reader source)
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
read
public int read()
throws IOException
- Overrides:
read
in class Reader
- Throws:
IOException
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
read
in class Reader
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Reader
- Throws:
IOException
Copyright © 2006 - 2009 The Apache Software Foundation