
public class Answer extends Object implements CharSequence
| Modifier and Type | Class and Description |
|---|---|
static class |
Answer.AnswerType
Type of answer - this modifies behavior
|
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int index) |
static Answer |
eof() |
String |
getAnswerText() |
byte[] |
getBytes() |
Answer.AnswerType |
getType() |
int |
length() |
static Answer |
none() |
CharSequence |
subSequence(int start,
int end) |
static Answer |
text(String text)
Creates a line answer.
|
String |
toString() |
public static Answer none()
public static Answer eof()
public static Answer text(String text)
text - public int length()
length in interface CharSequencepublic char charAt(int index)
charAt in interface CharSequencepublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequencepublic Answer.AnswerType getType()
public String getAnswerText()
public byte[] getBytes()
public String toString()
toString in interface CharSequencetoString in class ObjectCopyright © 2014 JBoss by Red Hat. All rights reserved.