org.melati.util
Class MelatiBufferedWriter
java.lang.Object
java.io.Writer
org.melati.util.MelatiWriter
org.melati.util.MelatiBufferedWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class MelatiBufferedWriter
- extends MelatiWriter
A buffered output object for Melati.
Method Summary |
void |
close()
|
void |
flush()
|
void |
reset()
Do nothing in the unbuffered case. |
void |
write(char[] cbuf,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MelatiBufferedWriter
public MelatiBufferedWriter(Writer writer)
- Constructor.
- Parameters:
writer
- the Writer
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
-
- Overrides:
write
in class MelatiWriter
- Throws:
IOException
- See Also:
Writer.write(char[], int, int)
reset
public void reset()
throws IOException
- Do nothing in the unbuffered case.
- Overrides:
reset
in class MelatiWriter
- Throws:
IOException
- in some implementations- See Also:
MelatiWriter.reset()
flush
public void flush()
throws IOException
-
- Specified by:
flush
in interface Flushable
- Overrides:
flush
in class MelatiWriter
- Throws:
IOException
- See Also:
Flushable.flush()
close
public void close()
throws IOException
-
- Specified by:
close
in interface Closeable
- Overrides:
close
in class MelatiWriter
- Throws:
IOException
- See Also:
Closeable.close()
Copyright © 2000-2010 PanEris. All Rights Reserved.