org.elasticsearch.common.jline
Class ANSI.Buffer

java.lang.Object
  extended by org.elasticsearch.common.jline.ANSI.Buffer
Enclosing class:
ANSI

public static class ANSI.Buffer
extends java.lang.Object


Field Summary
 boolean autoClear
           
 
Constructor Summary
ANSI.Buffer()
           
 
Method Summary
 ANSI.Buffer append(java.lang.Object obj)
           
 ANSI.Buffer append(java.lang.String text)
           
 ANSI.Buffer attrib(int code)
           
 ANSI.Buffer attrib(java.lang.String text, int code)
           
 ANSI.Buffer attrib(java.lang.String text, java.lang.String codeName)
           
 void clear()
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

autoClear

public final boolean autoClear
See Also:
Constant Field Values
Constructor Detail

ANSI.Buffer

public ANSI.Buffer()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clear

public void clear()

size

public int size()

append

public ANSI.Buffer append(java.lang.String text)

append

public ANSI.Buffer append(java.lang.Object obj)

attrib

public ANSI.Buffer attrib(int code)

attrib

public ANSI.Buffer attrib(java.lang.String text,
                          int code)

attrib

public ANSI.Buffer attrib(java.lang.String text,
                          java.lang.String codeName)