org.crsh.util
Class LineFeedWriter

java.lang.Object
  extended by org.crsh.util.LineFeedWriter
All Implemented Interfaces:
Appendable, ShellWriter

public class LineFeedWriter
extends Object
implements ShellWriter

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
LineFeedWriter(Appendable out)
           
LineFeedWriter(Appendable out, String lineFeed)
           
 
Method Summary
 Appendable append(char c)
           
 Appendable append(CharSequence csq)
           
 Appendable append(CharSequence csq, int start, int end)
           
 ShellWriter append(ShellWriterContext ctx, char c)
           
 ShellWriter append(ShellWriterContext ctx, CharSequence csq)
           
 ShellWriter append(ShellWriterContext ctx, CharSequence csq, int start, int end)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineFeedWriter

public LineFeedWriter(Appendable out)

LineFeedWriter

public LineFeedWriter(Appendable out,
                      String lineFeed)
Method Detail

append

public Appendable append(char c)
                  throws IOException
Specified by:
append in interface Appendable
Throws:
IOException

append

public ShellWriter append(ShellWriterContext ctx,
                          char c)
                   throws IOException
Specified by:
append in interface ShellWriter
Throws:
IOException

append

public Appendable append(CharSequence csq,
                         int start,
                         int end)
                  throws IOException
Specified by:
append in interface Appendable
Throws:
IOException

append

public Appendable append(CharSequence csq)
                  throws IOException
Specified by:
append in interface Appendable
Throws:
IOException

append

public ShellWriter append(ShellWriterContext ctx,
                          CharSequence csq)
                   throws IOException
Specified by:
append in interface ShellWriter
Throws:
IOException

append

public ShellWriter append(ShellWriterContext ctx,
                          CharSequence csq,
                          int start,
                          int end)
                   throws IOException
Specified by:
append in interface ShellWriter
Throws:
IOException


Copyright © 2011 eXo Platform SAS. All Rights Reserved.