Package | Description |
---|---|
votorola.a.response |
Interfacing with users by command/response.
|
Modifier and Type | Method and Description |
---|---|
ReplyBuilder |
ReplyBuilder.append(char c)
Appends the specified character to the buffer.
|
ReplyBuilder |
ReplyBuilder.append(CharSequence csq)
Appends the specified character sequence to the buffer.
|
ReplyBuilder |
ReplyBuilder.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence
to the buffer.
|
ReplyBuilder |
ReplyBuilder.append(int i)
Appends the string representation of the specified integer to the buffer.
|
ReplyBuilder |
ReplyBuilder.append(long l)
Appends the string representation of the specified long integer to the buffer.
|
ReplyBuilder |
ReplyBuilder.appendln()
Appends a newline.
|
ReplyBuilder |
ReplyBuilder.appendln(char c)
Appends the specified character, plus a newline,
to the buffer.
|
ReplyBuilder |
ReplyBuilder.appendln(CharSequence csq)
Appends the specified character sequence, plus a newline,
to the buffer.
|
ReplyBuilder |
ReplyBuilder.appendlnn()
Appends a double newline.
|
ReplyBuilder |
ReplyBuilder.appendlnn(CharSequence csq)
Appends the specified character sequence, plus a double newline,
to the buffer.
|
ReplyBuilder |
ReplyBuilder.appendRepeat(char c,
int n)
Appends n copies of character c to the buffer.
|
ReplyBuilder |
ReplyBuilder.appendRepeatln(char c,
int n)
Appends n copies of character c, plus a newline, to the buffer.
|
ReplyBuilder |
ReplyBuilder.appendRepeatlnn(char c,
int n)
Appends n copies of character c, plus a double newline, to the buffer.
|
ReplyBuilder |
ReplyBuilder.chomplnn()
Chops any trailing double newline down to a single newline.
|
ReplyBuilder |
ReplyBuilder.exdent(int amount)
Decreases the left wrap-margin, undoing a previous indent.
|
ReplyBuilder |
ReplyBuilder.indent(int amount)
Appends some spaces, and increases the left wrap-margin accordingly.
|
ReplyBuilder |
ReplyBuilder.lappend(String key,
Object... args) |
ReplyBuilder |
ReplyBuilder.lappendln(String key,
Object... args)
Appends a localized string, plus a newline, to the buffer.
|
ReplyBuilder |
ReplyBuilder.lappendlnn(String key,
Object... args)
Appends a localized string, plus a double newline, to the buffer.
|
ReplyBuilder |
CommandResponder.Session.replyBuilder()
The command-response (CR) builder to use in replying to commands.
|
ReplyBuilder |
ReplyBuilder.resetFormattingToDefaults()
Set indentation and wrapping to defaults.
|
ReplyBuilder |
ReplyBuilder.setWrapping(boolean toWrap)
Sets whether wrapping is enabled.
|
Constructor and Description |
---|
CommandResponder.Session(VoterInterface _voterInterface,
String _email,
int _trustLevel,
BundleFormatter _bunA,
ReplyBuilder _replyBuilder)
Constructs a Session.
|