|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
net.sf.mmm.util.io.base.AppendableWriter
public class AppendableWriter
This class is a Writer that adapts an Appendable.
| Field Summary | |
|---|---|
private Appendable |
appendable
The delegate. |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
AppendableWriter(Appendable appendable)
The constructor. |
|
| Method Summary | |
|---|---|
AppendableWriter |
append(char c)
|
AppendableWriter |
append(CharSequence csq)
|
AppendableWriter |
append(CharSequence csq,
int start,
int end)
|
void |
close()
|
void |
flush()
|
Appendable |
getAppendable()
This method gets the Appendable to delegate to. |
void |
write(char[] buffer)
|
void |
write(char[] buffer,
int offset,
int length)
|
void |
write(String string)
|
void |
write(String string,
int offset,
int length)
|
| Methods inherited from class java.io.Writer |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Appendable appendable
| Constructor Detail |
|---|
public AppendableWriter(Appendable appendable)
appendable - is the Appendable to adapt.| Method Detail |
|---|
public void close()
throws RuntimeIoException
close in interface Closeableclose in class WriterRuntimeIoException
public void flush()
throws RuntimeIoException
flush in interface Flushableflush in class WriterRuntimeIoException
public AppendableWriter append(char c)
throws RuntimeIoException
append in interface Appendableappend in class WriterRuntimeIoException
public AppendableWriter append(CharSequence csq)
throws RuntimeIoException
append in interface Appendableappend in class WriterRuntimeIoException
public AppendableWriter append(CharSequence csq,
int start,
int end)
throws RuntimeIoException
append in interface Appendableappend in class WriterRuntimeIoException
public void write(char[] buffer)
throws RuntimeIoException
write in class WriterRuntimeIoException
public void write(String string)
throws RuntimeIoException
write in class WriterRuntimeIoException
public void write(String string,
int offset,
int length)
throws RuntimeIoException
write in class WriterRuntimeIoException
public void write(char[] buffer,
int offset,
int length)
throws RuntimeIoException
write in class WriterRuntimeIoExceptionpublic Appendable getAppendable()
Appendable to delegate to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||