Package com.igormaznitsa.jcp.removers
Class JavaCommentsRemover
- java.lang.Object
-
- com.igormaznitsa.jcp.removers.JavaCommentsRemover
-
public class JavaCommentsRemover extends java.lang.Object
A remover allows to cut off all Java like comments from a reader and write the result into a writer
-
-
Constructor Summary
Constructors Constructor Description JavaCommentsRemover(java.io.Reader src, java.io.Writer dst)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Writer
process()
(package private) void
skipUntilClosingComments()
(package private) void
skipUntilNextString()
-
-
-
Method Detail
-
skipUntilNextString
void skipUntilNextString() throws java.io.IOException
- Throws:
java.io.IOException
-
skipUntilClosingComments
void skipUntilClosingComments() throws java.io.IOException
- Throws:
java.io.IOException
-
process
public java.io.Writer process() throws java.io.IOException
- Throws:
java.io.IOException
-
-