|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.javatest.finder.CommentStream
com.sun.javatest.finder.ShScriptCommentStream
public class ShScriptCommentStream
This class extracts all ASCII characters within standard shell script comments. A shell comment begins with a "#" and ends at the end of a line. A single comment is regarded as a continuous set of lines that begin with "#". All leading "#: characters and any preceding blanks or tabs are ignored.
CommentStream
Field Summary |
---|
Fields inherited from class com.sun.javatest.finder.CommentStream |
---|
cs, fastScan |
Constructor Summary | |
---|---|
ShScriptCommentStream()
|
Method Summary | |
---|---|
java.lang.String |
readComment()
Read the next comment from the input reader. |
Methods inherited from class com.sun.javatest.finder.CommentStream |
---|
close, init, setFastScan |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShScriptCommentStream()
Method Detail |
---|
public java.lang.String readComment() throws java.io.IOException
CommentStream
readComment
in class CommentStream
java.io.IOException
- if there is a problem while reading the
next comment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |