org.crsh.text
Class Format

java.lang.Object
  extended by org.crsh.text.Format
Direct Known Subclasses:
Format.Ansi, Format.PreHtml, Format.Text

public abstract class Format
extends Object

Author:
Julien Viet

Nested Class Summary
static class Format.Ansi
           
static class Format.PreHtml
           
static class Format.Text
           
 
Field Summary
static Format.Ansi ANSI
          .
static Format.PreHtml PRE_HTML
          .
static Format.Text TEXT
          .
 
Constructor Summary
Format()
           
 
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
 

Field Detail

TEXT

public static final Format.Text TEXT
.


ANSI

public static final Format.Ansi ANSI
.


PRE_HTML

public static final Format.PreHtml PRE_HTML
.

Constructor Detail

Format

public Format()
Method Detail

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.