info.jonclark.sourcecode
Class CommentProcessor
java.lang.Object
info.jonclark.sourcecode.CommentProcessor
- Direct Known Subclasses:
- UnicodeEscaper
public abstract class CommentProcessor
- extends Object
Separates comments from non-comments in Java source code. Allows
each of these pieces to be processed separately and then reconstituted
in an output file. This class's 2 abstract methods process the
types of text.
|
Method Summary |
String |
processLine(String line)
Process a line of source code while separating the comments
from the non-comments. |
CommentProcessor
public CommentProcessor()
processLine
public String processLine(String line)
- Process a line of source code while separating the comments
from the non-comments.
- Parameters:
out - line - inComment -
- Returns: