public class CommentEntry extends AbstractEntry
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE
Field TYPE (1)
|
| Constructor and Description |
|---|
CommentEntry(String startToken,
String body)
Constructor for single line CommentEntry
|
CommentEntry(String startToken,
String body,
String stopToken)
Constructor for multiple line CommentEntry
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Determines if another Object is equal to this one
|
String |
getBody()
Gets the comment body
|
String |
getStartToken()
Gets the start token for comment
|
String |
getStopToken()
Gets the stop token for comment
|
int |
getType()
Gets the entry type
|
int |
hashCode()
Gets the hash code for this Object
|
boolean |
isMultiline()
Gets whether this is a single line or a multiple line comment
|
void |
setBody(String body)
Sets the comment body
|
String |
toString()
Gets a String representation of this Object
|
public static final int TYPE
public CommentEntry(String startToken, String body)
startToken - start token for commentbody - comment bodypublic int getType()
getType in class AbstractEntrypublic String getStartToken()
public String getBody()
public void setBody(String body)
body - comment bodypublic String getStopToken()
public boolean isMultiline()
public boolean equals(Object obj)
public int hashCode()
? Copyright 2013 BMC Software, Inc.