Package com.sun.javatest.finder
Class JavaCommentStream
java.lang.Object
com.sun.javatest.finder.CommentStream
com.sun.javatest.finder.JavaCommentStream
This class extracts all ASCII characters within two of Java's
comments: traditional comments (bound by "/*" and "*\/") and
documentation comments (bound by "/**" and "*\/"). The comment
may span multiple lines. All leading "*" characters and any
preceding blanks or tabs are ignored.
- See Also:
-
Field Summary
Fields inherited from class com.sun.javatest.finder.CommentStream
cs, fastScan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRead the next comment from the input reader.Methods inherited from class com.sun.javatest.finder.CommentStream
close, init, setFastScan
-
Constructor Details
-
JavaCommentStream
public JavaCommentStream()
-
-
Method Details
-
readComment
Description copied from class:CommentStream
Read the next comment from the input reader.- Specified by:
readComment
in classCommentStream
- Returns:
- The next comment that is read from the stream.
- Throws:
IOException
- if there is a problem while reading the next comment.
-