Class HTMLCommentStream

java.lang.Object
com.sun.javatest.finder.CommentStream
com.sun.javatest.finder.HTMLCommentStream

public class HTMLCommentStream extends CommentStream
This class extracts all ASCII characters within HTML comments bound by "". The comment may span multiple lines.
See Also:
  • Constructor Details

    • HTMLCommentStream

      public HTMLCommentStream()
  • Method Details

    • readComment

      public String readComment() throws IOException
      Description copied from class: CommentStream
      Read the next comment from the input reader.
      Specified by:
      readComment in class CommentStream
      Returns:
      The next comment that is read from the stream.
      Throws:
      IOException - if there is a problem while reading the next comment.