public class CommandToStringWriter extends Object implements SerializationStreamWriter
Constructor and Description |
---|
CommandToStringWriter(TypeOverrides overrides) |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Serializes the contents of this stream into a string.
|
void |
writeBoolean(boolean value) |
void |
writeByte(byte value) |
void |
writeChar(char value) |
void |
writeDouble(double value) |
void |
writeFloat(float value) |
void |
writeInt(int value) |
void |
writeLong(long value) |
void |
writeObject(Object value) |
void |
writeShort(short value) |
void |
writeString(String value) |
public CommandToStringWriter(TypeOverrides overrides)
public String toString()
SerializationStreamWriter
toString
in interface SerializationStreamWriter
toString
in class Object
public void writeBoolean(boolean value) throws SerializationException
writeBoolean
in interface SerializationStreamWriter
SerializationException
public void writeByte(byte value) throws SerializationException
writeByte
in interface SerializationStreamWriter
SerializationException
public void writeChar(char value) throws SerializationException
writeChar
in interface SerializationStreamWriter
SerializationException
public void writeDouble(double value) throws SerializationException
writeDouble
in interface SerializationStreamWriter
SerializationException
public void writeFloat(float value) throws SerializationException
writeFloat
in interface SerializationStreamWriter
SerializationException
public void writeInt(int value) throws SerializationException
writeInt
in interface SerializationStreamWriter
SerializationException
public void writeLong(long value) throws SerializationException
writeLong
in interface SerializationStreamWriter
SerializationException
public void writeObject(Object value) throws SerializationException
writeObject
in interface SerializationStreamWriter
SerializationException
public void writeShort(short value) throws SerializationException
writeShort
in interface SerializationStreamWriter
SerializationException
public void writeString(String value) throws SerializationException
writeString
in interface SerializationStreamWriter
SerializationException
Copyright © 2018. All rights reserved.