br.eti.kinoshita.tap4j.model
Class Comment

java.lang.Object
  extended by br.eti.kinoshita.tap4j.model.Comment
All Implemented Interfaces:
TapResult, Serializable

public class Comment
extends Object
implements TapResult

A TAP Comment. In TAP files the comments have a # before the text.

Since:
1.0
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
Serialized Form

Constructor Summary
Comment(String text)
          Constructor with text.
 
Method Summary
 String getText()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Comment

public Comment(String text)
Constructor with text. A comment must always have a text.

Parameters:
text - Text of the comment.
Method Detail

getText

public String getText()
Returns:
Comment text.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.