org.openmdx.base.stream.rmi.cci
Class CharacterSink_1Writer
java.lang.Object
java.io.Writer
org.openmdx.base.stream.rmi.cci.CharacterSink_1Writer
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class CharacterSink_1Writer
- extends Writer
Streams: Character Sink Writer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected CharacterSink_1_0 out
DEFAULT_CAPACITY
protected static int DEFAULT_CAPACITY
- The stream's default capacity
callbackContext
protected final ExecutionContext callbackContext
- Callback Context
CharacterSink_1Writer
public CharacterSink_1Writer(CharacterSink_1_0 sink,
int capacity,
ExecutionContext callbackContext)
- Constructor
- Parameters:
sink - capacity - callbackContext - The execution context for callbacks
CharacterSink_1Writer
public CharacterSink_1Writer(CharacterSink_1_0 sink,
ExecutionContext callbackContext)
- Constructor
- Parameters:
sink - callbackContext - The execution context for callbacks
isOpen
protected boolean isOpen()
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
write in class Writer
- Throws:
IOException
write
public void write(int c)
throws IOException
- Overrides:
write in class Writer
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in interface Flushable- Specified by:
flush in class Writer
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Specified by:
close in class Writer
- Throws:
IOException
This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.