|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectjline.Buffer
public class Buffer
This class is a helper to commands in the console.
This class is based on a jline's test class written by Ryan. Control Version
| Constructor Summary | |
|---|---|
Buffer(String string)
Constructor with a given string. |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
Retrieves the output stream as an array of bytes. |
void |
op(short operation)
Adds a operation to the stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Buffer(String string)
string - String that represents what the user wrote.| Method Detail |
|---|
public byte[] getBytes()
public void op(short operation)
operation - Operation to add.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
