public final class JsonXIOUtil extends Object
JsonXOutput.| Constructor and Description |
|---|
JsonXIOUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> byte[] |
toByteArray(T message,
Schema<T> schema,
boolean numeric,
LinkedBuffer buffer) |
static <T> void |
writeListTo(LinkedBuffer buffer,
List<T> messages,
Schema<T> schema,
boolean numeric)
Serializes the
messages into the LinkedBuffer using the given schema. |
static <T> void |
writeListTo(OutputStream out,
List<T> messages,
Schema<T> schema,
boolean numeric,
LinkedBuffer buffer)
Serializes the
messages into the stream using the given schema with the supplied buffer. |
static <T> void |
writeTo(LinkedBuffer buffer,
T message,
Schema<T> schema,
boolean numeric)
Serializes the
message into a LinkedBuffer via JsonXOutput using the given schema
with the supplied buffer. |
static <T extends Message<T>> |
writeTo(OutputStream out,
T message,
boolean numeric,
LinkedBuffer buffer)
|
static <T> void |
writeTo(OutputStream out,
T message,
Schema<T> schema,
boolean numeric,
LinkedBuffer buffer)
|
public static <T> byte[] toByteArray(T message,
Schema<T> schema,
boolean numeric,
LinkedBuffer buffer)
public static <T> void writeTo(LinkedBuffer buffer, T message, Schema<T> schema, boolean numeric)
message into a LinkedBuffer via JsonXOutput using the given schema
with the supplied buffer.public static <T extends Message<T>> void writeTo(OutputStream out, T message, boolean numeric, LinkedBuffer buffer) throws IOException
IOExceptionpublic static <T> void writeTo(OutputStream out, T message, Schema<T> schema, boolean numeric, LinkedBuffer buffer) throws IOException
IOExceptionpublic static <T> void writeListTo(LinkedBuffer buffer, List<T> messages, Schema<T> schema, boolean numeric)
messages into the LinkedBuffer using the given schema.public static <T> void writeListTo(OutputStream out, List<T> messages, Schema<T> schema, boolean numeric, LinkedBuffer buffer) throws IOException
messages into the stream using the given schema with the supplied buffer.IOExceptionCopyright © 2009–2020. All rights reserved.