uk.org.ogsadai.common
Class BlockWriterWriter
java.lang.Object
|
+--java.io.Writer
|
+--uk.org.ogsadai.common.BlockWriterWriter
- public class BlockWriterWriter
- extends java.io.Writer
A java.io.Writer
that wraps a uk.org.ogsadai.common.BlockWriter
.
- Author:
- The OGSA-DAI Project Team
Fields inherited from class java.io.Writer |
lock |
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(char[] cbuf, int off, int len)
|
Methods inherited from class java.io.Writer |
write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
-
- See Also:
- Constant Field Values
BUFFER_SIZE
private static final int BUFFER_SIZE
-
- See Also:
- Constant Field Values
mBuffer
private final char[] mBuffer
-
mCurrentPosition
private int mCurrentPosition
-
mBlockWriter
private final BlockWriter mBlockWriter
-
BlockWriterWriter
public BlockWriterWriter(BlockWriter writer)
-
Constructs a new object that wraps the given
BlockWriter
.
- Parameters:
writer
- The BlockWriter
to wrap.
close
public void close()
throws java.io.IOException
-
- Specified by:
close
in class java.io.Writer
-
java.io.IOException
flush
public void flush()
throws java.io.IOException
-
- Specified by:
flush
in class java.io.Writer
-
java.io.IOException
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
-
- Specified by:
write
in class java.io.Writer
-
java.io.IOException