|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crsh.util.LineFeedWriter
public class LineFeedWriter
Field Summary | |
---|---|
private String |
lineFeed
. |
private static int |
NOT_PADDED
. |
private Appendable |
out
. |
private static int |
PADDED
. |
private static int |
PADDING
. |
private int |
status
. |
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)
|
private void |
realAppend(ShellWriterContext ctx,
CharSequence csq,
int off,
int end)
|
private void |
writeLF(ShellWriterContext ctx)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int NOT_PADDED
private static final int PADDING
private static final int PADDED
private final Appendable out
private final String lineFeed
private int status
Constructor Detail |
---|
public LineFeedWriter(Appendable out)
public LineFeedWriter(Appendable out, String lineFeed)
Method Detail |
---|
public Appendable append(char c) throws IOException
append
in interface Appendable
IOException
public ShellWriter append(ShellWriterContext ctx, char c) throws IOException
append
in interface ShellWriter
IOException
public Appendable append(CharSequence csq, int start, int end) throws IOException
append
in interface Appendable
IOException
public Appendable append(CharSequence csq) throws IOException
append
in interface Appendable
IOException
public ShellWriter append(ShellWriterContext ctx, CharSequence csq) throws IOException
append
in interface ShellWriter
IOException
public ShellWriter append(ShellWriterContext ctx, CharSequence csq, int start, int end) throws IOException
append
in interface ShellWriter
IOException
private void realAppend(ShellWriterContext ctx, CharSequence csq, int off, int end) throws IOException
IOException
private void writeLF(ShellWriterContext ctx) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |