Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.alicebot.server.core.util
Class MessagePrinter  view MessagePrinter download MessagePrinter.java

java.lang.Object
  extended byorg.alicebot.server.core.util.MessagePrinter

public class MessagePrinter
extends java.lang.Object


Field Summary
static int CONSOLE
           
private static boolean consoleTimestamp
           
private static java.lang.String EMPTY_STRING
           
private static java.lang.String FILE_WRITER_ERROR
           
private static boolean lastLongFormat
           
private static java.lang.String lastPrompt
           
private static java.lang.String lastTypeFlag
           
private static java.lang.String LBRACKET
           
private static java.lang.String LINE_SEPARATOR
           
static int LOG
           
private static boolean logTimestamp
           
private static boolean midLine
           
private static java.lang.String RBRACKET
           
private static java.lang.String SPACE
           
private static java.lang.String TIMESTAMP_CONSOLE_FORMAT
           
private static java.lang.String TIMESTAMP_LOG_FORMAT
           
 
Constructor Summary
MessagePrinter()
           
 
Method Summary
static void gotLine()
           
static void print(java.lang.String s, java.lang.String s1, java.io.PrintStream printstream, int i)
           
static void println(java.lang.String s, java.lang.String s1, java.io.FileWriter filewriter, int i)
           
static void println(java.lang.String s, java.lang.String s1, java.io.PrintStream printstream, int i)
           
private static java.lang.String timestamp(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSOLE

public static final int CONSOLE
See Also:
Constant Field Values

LOG

public static final int LOG
See Also:
Constant Field Values

LINE_SEPARATOR

private static final java.lang.String LINE_SEPARATOR

SPACE

private static final java.lang.String SPACE
See Also:
Constant Field Values

LBRACKET

private static final java.lang.String LBRACKET
See Also:
Constant Field Values

RBRACKET

private static final java.lang.String RBRACKET
See Also:
Constant Field Values

EMPTY_STRING

private static final java.lang.String EMPTY_STRING
See Also:
Constant Field Values

TIMESTAMP_LOG_FORMAT

private static final java.lang.String TIMESTAMP_LOG_FORMAT

TIMESTAMP_CONSOLE_FORMAT

private static final java.lang.String TIMESTAMP_CONSOLE_FORMAT

consoleTimestamp

private static final boolean consoleTimestamp

logTimestamp

private static final boolean logTimestamp

FILE_WRITER_ERROR

private static final java.lang.String FILE_WRITER_ERROR
See Also:
Constant Field Values

midLine

private static boolean midLine

lastPrompt

private static java.lang.String lastPrompt

lastTypeFlag

private static java.lang.String lastTypeFlag

lastLongFormat

private static boolean lastLongFormat
Constructor Detail

MessagePrinter

public MessagePrinter()
Method Detail

println

public static void println(java.lang.String s,
                           java.lang.String s1,
                           java.io.PrintStream printstream,
                           int i)

print

public static void print(java.lang.String s,
                         java.lang.String s1,
                         java.io.PrintStream printstream,
                         int i)

println

public static void println(java.lang.String s,
                           java.lang.String s1,
                           java.io.FileWriter filewriter,
                           int i)

timestamp

private static java.lang.String timestamp(int i)

gotLine

public static void gotLine()