org.opensolaris.opengrok.analysis
Class TagFilter

java.lang.Object
  extended by java.io.Reader
      extended by java.io.FilterReader
          extended by org.opensolaris.opengrok.analysis.TagFilter
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class TagFilter
extends java.io.FilterReader

A reader that reads only plain text from a HTML or XML file


Field Summary
 
Fields inherited from class java.io.FilterReader
in
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
TagFilter(java.io.Reader in)
           
 
Method Summary
static boolean isSpace(int ch)
           
 int read()
           
 int read(char[] buf, int start, int len)
           
 
Methods inherited from class java.io.FilterReader
close, mark, markSupported, ready, reset, skip
 
Methods inherited from class java.io.Reader
read, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagFilter

public TagFilter(java.io.Reader in)
Method Detail

read

public final int read(char[] buf,
                      int start,
                      int len)
               throws java.io.IOException
Overrides:
read in class java.io.FilterReader
Throws:
java.io.IOException

read

public final int read()
               throws java.io.IOException
Overrides:
read in class java.io.FilterReader
Throws:
java.io.IOException

isSpace

public static boolean isSpace(int ch)