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