com.sun.javatest.finder
Class HTMLCommentStream

java.lang.Object
  extended by com.sun.javatest.finder.CommentStream
      extended by 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:
CommentStream

Field Summary
 
Fields inherited from class com.sun.javatest.finder.CommentStream
cs, fastScan
 
Constructor Summary
HTMLCommentStream()
           
 
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

HTMLCommentStream

public HTMLCommentStream()
Method Detail

readComment

public java.lang.String readComment()
                             throws java.io.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:
java.io.IOException - if there is a problem while reading the next comment.


Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.