com.sshtools.daemon.terminal
Class Colorizer

java.lang.Object
  extended by com.sshtools.daemon.terminal.Colorizer

public final class Colorizer
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
$author$

Field Summary
private static int a
           
private static int b
           
private static int B
           
private static int c
           
private static int C
           
private  int[] colortranslation
           
private static int d
           
private static int e
           
private static int f
           
private static int g
           
private static int G
           
private static int h
           
private static int i
           
private static int j
           
private  int leng
           
private static int m
           
private static int M
           
private static Colorizer myColorizer
           
private static int n
           
private static int r
           
private static int R
           
private static int s
           
private static int S
           
private static java.lang.Object Self
           
private static int testcount
           
private static int u
           
private static int v
           
private static int w
           
private static int W
           
private static int y
           
private static int Y
           
 
Constructor Summary
private Colorizer()
           
 
Method Summary
private  java.lang.String addEscapeSequence(java.lang.String attribute)
           
private static void announceResult(boolean res)
           
private static void announceTest(java.lang.String what)
           
private static void bcolorTest(java.lang.String color)
           
private static void bfcolorTest(java.lang.String color)
           
 java.lang.String colorize(java.lang.String str, boolean support)
           
private static void fcolorTest(java.lang.String color)
           
static Colorizer getReference()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Self

private static java.lang.Object Self

testcount

private static int testcount

myColorizer

private static Colorizer myColorizer

S

private static final int S
See Also:
Constant Field Values

s

private static final int s
See Also:
Constant Field Values

R

private static final int R
See Also:
Constant Field Values

r

private static final int r
See Also:
Constant Field Values

G

private static final int G
See Also:
Constant Field Values

g

private static final int g
See Also:
Constant Field Values

Y

private static final int Y
See Also:
Constant Field Values

y

private static final int y
See Also:
Constant Field Values

B

private static final int B
See Also:
Constant Field Values

b

private static final int b
See Also:
Constant Field Values

M

private static final int M
See Also:
Constant Field Values

m

private static final int m
See Also:
Constant Field Values

C

private static final int C
See Also:
Constant Field Values

c

private static final int c
See Also:
Constant Field Values

W

private static final int W
See Also:
Constant Field Values

w

private static final int w
See Also:
Constant Field Values

f

private static final int f
See Also:
Constant Field Values

d

private static final int d
See Also:
Constant Field Values

i

private static final int i
See Also:
Constant Field Values

j

private static final int j
See Also:
Constant Field Values

u

private static final int u
See Also:
Constant Field Values

v

private static final int v
See Also:
Constant Field Values

e

private static final int e
See Also:
Constant Field Values

n

private static final int n
See Also:
Constant Field Values

h

private static final int h
See Also:
Constant Field Values

a

private static final int a
See Also:
Constant Field Values

colortranslation

private int[] colortranslation

leng

private int leng
Constructor Detail

Colorizer

private Colorizer()
Method Detail

colorize

public java.lang.String colorize(java.lang.String str,
                                 boolean support)

addEscapeSequence

private java.lang.String addEscapeSequence(java.lang.String attribute)

getReference

public static Colorizer getReference()

announceResult

private static void announceResult(boolean res)

announceTest

private static void announceTest(java.lang.String what)

bfcolorTest

private static void bfcolorTest(java.lang.String color)

fcolorTest

private static void fcolorTest(java.lang.String color)

bcolorTest

private static void bcolorTest(java.lang.String color)

main

public static void main(java.lang.String[] args)