com.jbase.jremote.io
Class IOJBaseObjectWriter
java.lang.Object
com.jbase.jremote.io.AbstractJBaseObjectWriter
com.jbase.jremote.io.IOJBaseObjectWriter
- All Implemented Interfaces:
- JBaseObjectWriter
public class IOJBaseObjectWriter
- extends AbstractJBaseObjectWriter
jBase object writer based on the DataOutputStream.
Method Summary |
void |
close()
|
protected void |
flush()
|
protected void |
outByte(byte[] b)
|
protected void |
outByte(int b)
|
protected void |
outInt(int i)
|
protected void |
outUTF(java.lang.String s)
Write a UTF8 string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IOJBaseObjectWriter
public IOJBaseObjectWriter(java.io.OutputStream os)
IOJBaseObjectWriter
public IOJBaseObjectWriter(java.io.OutputStream os,
boolean compressed,
int compressionThreshold)
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
protected void flush()
throws java.io.IOException
- Specified by:
flush
in class AbstractJBaseObjectWriter
- Throws:
java.io.IOException
outByte
protected void outByte(byte[] b)
throws java.io.IOException
- Specified by:
outByte
in class AbstractJBaseObjectWriter
- Throws:
java.io.IOException
outByte
protected void outByte(int b)
throws java.io.IOException
- Specified by:
outByte
in class AbstractJBaseObjectWriter
- Throws:
java.io.IOException
outInt
protected void outInt(int i)
throws java.io.IOException
- Specified by:
outInt
in class AbstractJBaseObjectWriter
- Throws:
java.io.IOException
outUTF
protected void outUTF(java.lang.String s)
throws java.io.IOException
- Write a UTF8 string. This could be made more efficient by implementing our own UTF8
encoder (or using the DataOutputStream) instead of duplicating the string.
- Specified by:
outUTF
in class AbstractJBaseObjectWriter
- Throws:
java.io.IOException
Copyright © 2010 TEMENOS. All Rights Reserved.