org.juzu.text
Class WriterPrinter

java.lang.Object
  extended by org.juzu.text.WriterPrinter
All Implemented Interfaces:
Printer

public class WriterPrinter
extends Object
implements Printer

Author:
Julien Viet

Constructor Summary
WriterPrinter(Appendable writer)
           
 
Method Summary
 void write(char c)
           
 void write(CharArray chars)
           
 void write(CharSequence s)
           
 void write(String s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterPrinter

public WriterPrinter(Appendable writer)
Method Detail

write

public void write(char c)
           throws IOException
Specified by:
write in interface Printer
Throws:
IOException

write

public void write(CharSequence s)
           throws IOException
Specified by:
write in interface Printer
Throws:
IOException

write

public void write(String s)
           throws IOException
Specified by:
write in interface Printer
Throws:
IOException

write

public void write(CharArray chars)
           throws IOException
Specified by:
write in interface Printer
Throws:
IOException


Copyright © 2011 eXo Platform SAS. All Rights Reserved.