KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > Made > CDL > ILogger


1 /* $Id: ILogger.java,v 1.1.1.1 2003/02/11 16:19:40 bures Exp $ */
2 package SOFA.SOFAnode.Made.CDL;
3
4 /** Logger interface.
5   *
6   * @author Petr Hnetynka
7   */

8 public interface ILogger {
9   public static final int Black = 0;
10   public static final int White = 1;
11   public static final int Yellow = 2;
12   public static final int Green = 3;
13   public static final int Red = 4;
14   public static final int Blue = 5;
15   public static final int Magenta = 6;
16   public static final int Cyan = 7;
17
18   public void print(String JavaDoc s);
19   public void print(Object JavaDoc o);
20   public void println(String JavaDoc s);
21   public void println(Object JavaDoc o);
22   public void flush();
23
24   /** clear output */
25   public void reset();
26
27   public void setColor(int color);
28   public int getColor();
29   public boolean supportColors();
30   public boolean supportReset();
31 }
32
Popular Tags