br.eti.kinoshita.tap4j.model
Class Comment
java.lang.Object
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
Comment
public Comment(String text)
- Constructor with text. A comment must always have a text.
- Parameters:
text - Text of the comment.
getText
public String getText()
- Returns:
- Comment text.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010. All Rights Reserved.