public abstract class JsonWriter<T> extends Object
| Constructor and Description |
|---|
JsonWriter() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
write(T value,
com.fasterxml.jackson.core.JsonGenerator g) |
void |
writeToFile(T value,
File file) |
void |
writeToFile(T value,
File file,
boolean indent) |
void |
writeToFile(T value,
String fileName) |
void |
writeToFile(T value,
String fileName,
boolean indent) |
void |
writeToStream(T value,
OutputStream out) |
void |
writeToStream(T value,
OutputStream out,
boolean indent) |
public abstract void write(T value, com.fasterxml.jackson.core.JsonGenerator g) throws IOException
IOExceptionpublic final void writeToStream(T value, OutputStream out, boolean indent) throws IOException
IOExceptionpublic final void writeToStream(T value, OutputStream out) throws IOException
IOExceptionpublic final void writeToFile(T value, File file, boolean indent) throws IOException
IOExceptionpublic final void writeToFile(T value, File file) throws IOException
IOExceptionpublic final void writeToFile(T value, String fileName, boolean indent) throws IOException
IOExceptionpublic final void writeToFile(T value, String fileName) throws IOException
IOExceptionCopyright © 2014. All rights reserved.