|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crsh.shell.io.ShellWriter
public class ShellWriter
Field Summary | |
---|---|
private String |
lineFeed
. |
private static int |
NOT_PADDED
. |
private static int |
PADDED
. |
private static int |
PADDING
. |
private CharReader |
reader
. |
private int |
status
. |
Constructor Summary | |
---|---|
ShellWriter(CharReader reader)
|
|
ShellWriter(CharReader reader,
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)
|
ShellWriter |
append(Style d)
|
boolean |
isEmpty()
|
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 CharReader reader
private final String lineFeed
private int status
Constructor Detail |
---|
public ShellWriter(CharReader reader)
public ShellWriter(CharReader reader, 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
IOException
public ShellWriter append(Style d)
append
in interface ShellAppendable
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
IOException
public ShellWriter append(ShellWriterContext ctx, CharSequence csq, int start, int end) throws IOException
IOException
private void realAppend(ShellWriterContext ctx, CharSequence csq, int off, int end) throws IOException
IOException
private void writeLF(ShellWriterContext ctx) throws IOException
IOException
public boolean isEmpty()
isEmpty
in interface ShellAppendable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |