jline

Class ANSIBuffer

public class ANSIBuffer extends Object

A buffer that can contain ANSI text.

Author: Marc Prud'hommeaux

Nested Class Summary
static classANSIBuffer.ANSICodes
Constructor Summary
ANSIBuffer()
ANSIBuffer(String str)
Method Summary
ANSIBufferappend(String str)
ANSIBufferattrib(String str, int code)
ANSIBufferblack(String str)
ANSIBufferblink(String str)
ANSIBufferblue(String str)
ANSIBufferbold(String str)
ANSIBuffercyan(String str)
StringgetAnsiBuffer()
booleangetAnsiEnabled()
StringgetPlainBuffer()
ANSIBuffergreen(String str)
ANSIBuffermagenta(String str)
static voidmain(String[] args)
ANSIBufferred(String str)
ANSIBufferreverse(String str)
voidsetAnsiEnabled(boolean ansi)
StringtoString(boolean ansi)
StringtoString()
ANSIBufferunderscore(String str)
ANSIBufferyellow(String str)

Constructor Detail

ANSIBuffer

public ANSIBuffer()

ANSIBuffer

public ANSIBuffer(String str)

Method Detail

append

public ANSIBuffer append(String str)

attrib

public ANSIBuffer attrib(String str, int code)

black

public ANSIBuffer black(String str)

blink

public ANSIBuffer blink(String str)

blue

public ANSIBuffer blue(String str)

bold

public ANSIBuffer bold(String str)

cyan

public ANSIBuffer cyan(String str)

getAnsiBuffer

public String getAnsiBuffer()

getAnsiEnabled

public boolean getAnsiEnabled()

getPlainBuffer

public String getPlainBuffer()

green

public ANSIBuffer green(String str)

magenta

public ANSIBuffer magenta(String str)

main

public static void main(String[] args)

red

public ANSIBuffer red(String str)

reverse

public ANSIBuffer reverse(String str)

setAnsiEnabled

public void setAnsiEnabled(boolean ansi)

toString

public String toString(boolean ansi)

toString

public String toString()

underscore

public ANSIBuffer underscore(String str)

yellow

public ANSIBuffer yellow(String str)
Copyright © 2002-2010. All Rights Reserved.