|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alibaba.dubbo.common.serialize.support.json.FastJsonObjectOutput
public class FastJsonObjectOutput
JsonObjectOutput
| Constructor Summary | |
|---|---|
FastJsonObjectOutput(OutputStream out)
|
|
FastJsonObjectOutput(Writer writer)
|
|
| Method Summary | |
|---|---|
void |
flushBuffer()
Flush buffer. |
void |
writeBool(boolean v)
Write boolean. |
void |
writeByte(byte v)
Write byte. |
void |
writeBytes(byte[] b)
Write byte array. |
void |
writeBytes(byte[] b,
int off,
int len)
Write byte array. |
void |
writeDouble(double v)
Write double. |
void |
writeFloat(float v)
Write float. |
void |
writeInt(int v)
Write integer. |
void |
writeLong(long v)
Write long. |
void |
writeObject(Object obj)
write object. |
void |
writeShort(short v)
Write short. |
void |
writeUTF(String v)
Write string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FastJsonObjectOutput(OutputStream out)
public FastJsonObjectOutput(Writer writer)
| Method Detail |
|---|
public void writeBool(boolean v)
throws IOException
DataOutput
writeBool in interface DataOutputv - value.
IOException
public void writeByte(byte v)
throws IOException
DataOutput
writeByte in interface DataOutputv - value.
IOException
public void writeShort(short v)
throws IOException
DataOutput
writeShort in interface DataOutputv - value.
IOException
public void writeInt(int v)
throws IOException
DataOutput
writeInt in interface DataOutputv - value.
IOException
public void writeLong(long v)
throws IOException
DataOutput
writeLong in interface DataOutputv - value.
IOException
public void writeFloat(float v)
throws IOException
DataOutput
writeFloat in interface DataOutputv - value.
IOException
public void writeDouble(double v)
throws IOException
DataOutput
writeDouble in interface DataOutputv - value.
IOException
public void writeUTF(String v)
throws IOException
DataOutput
writeUTF in interface DataOutputv - value.
IOException
public void writeBytes(byte[] b)
throws IOException
DataOutput
writeBytes in interface DataOutputb - value.
IOException
public void writeBytes(byte[] b,
int off,
int len)
throws IOException
DataOutput
writeBytes in interface DataOutputb - value.off - offset.len - length.
IOException
public void writeObject(Object obj)
throws IOException
ObjectOutput
writeObject in interface ObjectOutputobj - object.
IOException
public void flushBuffer()
throws IOException
DataOutput
flushBuffer in interface DataOutputIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||