info.jonclark.sourcecode
Class CommentProcessor

java.lang.Object
  extended by 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.


Constructor Summary
CommentProcessor()
           
 
Method Summary
 String processLine(String line)
          Process a line of source code while separating the comments from the non-comments.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentProcessor

public CommentProcessor()
Method Detail

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: