|
Joram 5.0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.kclient.XStream
org.objectweb.joram.kclient.OutputXStream
public class OutputXStream
Field Summary | |
---|---|
protected byte[] |
buffer
|
protected int |
count
|
Constructor Summary | |
---|---|
OutputXStream()
|
Method Summary | |
---|---|
void |
reset()
|
protected void |
resize(int len)
|
int |
size()
|
void |
toBuffer(byte[] buf)
|
void |
writeBoolean(boolean b)
This method allows to write a boolean to the buffered output stream. |
protected void |
writeBuffer(byte[] buf)
|
void |
writeByte(byte b)
This method allows to write a byte to the buffered output stream. |
void |
writeByteArray(byte[] tab)
This method allows to write byte array to the buffered output stream. |
void |
writeDouble(double d)
This method allows to write a double to the buffered output stream. |
void |
writeFloat(float f)
This method allows to write a float to the buffered output stream. |
void |
writeInt(int i)
This method allows to write an integer to the buffered output stream. |
void |
writeLong(long l)
This method allows to write a long to the output stream. |
void |
writeObject(java.lang.Object obj)
This method allows to write an object to the buffered output stream. |
void |
writeProperties(Properties p)
This method allows to write a Properties object to the buffered output stream. |
void |
writeShort(short s)
This method allows to write a short to the buffered output stream. |
void |
writeString(java.lang.String str)
This method allows to write a String to the buffered output stream. |
void |
writeTo(java.io.OutputStream os)
|
void |
writeVectorOfString(java.util.Vector v)
This method allows to write a vector of String objects to the buffered output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int count
protected byte[] buffer
Constructor Detail |
---|
public OutputXStream()
Method Detail |
---|
protected void resize(int len)
protected void writeBuffer(byte[] buf)
public void reset()
public int size()
public void writeTo(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public void toBuffer(byte[] buf)
public void writeBoolean(boolean b)
b
- the boolean to writepublic void writeByte(byte b)
b
- the byte to writepublic void writeShort(short s)
s
- the short to writepublic void writeInt(int i)
i
- the integer to writepublic void writeLong(long l)
l
- the long to writepublic void writeString(java.lang.String str)
str
- the String to writepublic void writeByteArray(byte[] tab)
tab
- the byte array to writepublic void writeFloat(float f)
f
- the float to writepublic void writeDouble(double d)
d
- the double to writepublic void writeObject(java.lang.Object obj) throws java.io.IOException
obj
- the object to write
java.io.IOException
public void writeVectorOfString(java.util.Vector v)
p
- the Properties object to write
a
- ClassCastException if the vector contains non String object.public void writeProperties(Properties p) throws java.io.IOException
p
- the Properties object to write
java.io.IOException
|
Joram 5.0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |