public class TextAnswer extends Object implements Answer
| Constructor and Description |
|---|
TextAnswer(String answerText) |
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int index) |
int |
length() |
void |
reply(ProcessExecution execution)
Reply to the current process execution with the answer
|
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
public TextAnswer(String answerText)
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 void reply(ProcessExecution execution) throws IOException
Answerreply in interface AnswerIOExceptionpublic String toString()
toString in interface CharSequencetoString in class ObjectCopyright © 2014 JBoss by Red Hat. All rights reserved.