org.crsh.text
Class Format
java.lang.Object
org.crsh.text.Format
- Direct Known Subclasses:
- Format.Ansi, Format.PreHtml, Format.Text
-
public abstract class Format
- extends Object
-
- Author:
- Julien Viet
Method Summary |
abstract void |
begin(Appendable to)
|
abstract void |
cls(Appendable to)
|
abstract void |
end(Appendable to)
|
abstract void |
write(CharSequence s, Appendable to)
|
abstract void |
write(Style style, Appendable to)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEXT
public static final Format.Text TEXT
-
.
ANSI
public static final Format.Ansi ANSI
-
.
PRE_HTML
public static final Format.PreHtml PRE_HTML
-
.
Format
public Format()
begin
public abstract void begin(Appendable to)
throws IOException
-
- Throws:
IOException
write
public abstract void write(CharSequence s,
Appendable to)
throws IOException
-
- Throws:
IOException
write
public abstract void write(Style style,
Appendable to)
throws IOException
-
- Throws:
IOException
cls
public abstract void cls(Appendable to)
throws IOException
-
- Throws:
IOException
end
public abstract void end(Appendable to)
throws IOException
-
- Throws:
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.