Class StripJavaComments

java.lang.Object
All Implemented Interfaces:
Closeable, AutoCloseable, Readable, ChainableReader

public final class StripJavaComments extends BaseFilterReader implements ChainableReader
This is a Java comment and string stripper reader that filters those lexical tokens out for purposes of simple Java parsing. (if you have more complex Java parsing needs, use a real lexer). Since this class heavily relies on the single char read function, you are recommended to make it work on top of a buffered reader.