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
IOException
public final void writeToStream(T value, OutputStream out, boolean indent) throws IOException
IOException
public final void writeToStream(T value, OutputStream out) throws IOException
IOException
public final void writeToFile(T value, File file, boolean indent) throws IOException
IOException
public final void writeToFile(T value, File file) throws IOException
IOException
public final void writeToFile(T value, String fileName, boolean indent) throws IOException
IOException
public final void writeToFile(T value, String fileName) throws IOException
IOException
Copyright © 2014. All rights reserved.