@Deprecated public class JsonObjectOutput extends Object implements ObjectOutput
| Constructor and Description |
|---|
JsonObjectOutput(OutputStream out)
Deprecated.
|
JsonObjectOutput(OutputStream out,
boolean writeClass)
Deprecated.
|
JsonObjectOutput(Writer writer)
Deprecated.
|
JsonObjectOutput(Writer writer,
boolean writeClass)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flushBuffer()
Deprecated.
Flush buffer.
|
void |
writeBool(boolean v)
Deprecated.
Write boolean.
|
void |
writeByte(byte v)
Deprecated.
Write byte.
|
void |
writeBytes(byte[] b)
Deprecated.
Write byte array.
|
void |
writeBytes(byte[] b,
int off,
int len)
Deprecated.
Write byte array.
|
void |
writeDouble(double v)
Deprecated.
Write double.
|
void |
writeFloat(float v)
Deprecated.
Write float.
|
void |
writeInt(int v)
Deprecated.
Write integer.
|
void |
writeLong(long v)
Deprecated.
Write long.
|
void |
writeObject(Object obj)
Deprecated.
write object.
|
void |
writeShort(short v)
Deprecated.
Write short.
|
void |
writeUTF(String v)
Deprecated.
Write string.
|
public JsonObjectOutput(OutputStream out)
public JsonObjectOutput(Writer writer)
public JsonObjectOutput(OutputStream out, boolean writeClass)
public JsonObjectOutput(Writer writer, boolean writeClass)
public void writeBool(boolean v)
throws IOException
DataOutputwriteBool in interface DataOutputv - value.IOExceptionpublic void writeByte(byte v)
throws IOException
DataOutputwriteByte in interface DataOutputv - value.IOExceptionpublic void writeShort(short v)
throws IOException
DataOutputwriteShort in interface DataOutputv - value.IOExceptionpublic void writeInt(int v)
throws IOException
DataOutputwriteInt in interface DataOutputv - value.IOExceptionpublic void writeLong(long v)
throws IOException
DataOutputwriteLong in interface DataOutputv - value.IOExceptionpublic void writeFloat(float v)
throws IOException
DataOutputwriteFloat in interface DataOutputv - value.IOExceptionpublic void writeDouble(double v)
throws IOException
DataOutputwriteDouble in interface DataOutputv - value.IOExceptionpublic void writeUTF(String v) throws IOException
DataOutputwriteUTF in interface DataOutputv - value.IOExceptionpublic void writeBytes(byte[] b)
throws IOException
DataOutputwriteBytes in interface DataOutputb - value.IOExceptionpublic void writeBytes(byte[] b,
int off,
int len)
throws IOException
DataOutputwriteBytes in interface DataOutputb - value.off - offset.len - length.IOExceptionpublic void writeObject(Object obj) throws IOException
ObjectOutputwriteObject in interface ObjectOutputobj - object.IOExceptionpublic void flushBuffer()
throws IOException
DataOutputflushBuffer in interface DataOutputIOExceptionCopyright © 2012–2018 The Dubbo Project. All rights reserved.