|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IHostJsonTransformers
Alternative to IHostTransformers which works on JSON rather than java
object.
| Method Summary | |
|---|---|
byte[] |
toHost(Reader reader)
Transforms JSON source to host data. |
byte[] |
toHost(Reader reader,
HostTransformStatus status)
Transforms JSON source to host data. |
byte[] |
toHost(Reader reader,
String hostCharset)
Transforms JSON source to host data with a specific host character set. |
byte[] |
toHost(Reader reader,
String hostCharset,
HostTransformStatus status)
Transforms JSON source to host data with a specific host character set. |
void |
toJson(byte[] hostData,
Writer writer)
Transforms host data to JSON. |
void |
toJson(byte[] hostData,
Writer writer,
HostTransformStatus status)
Transforms host data to JSON. |
void |
toJson(byte[] hostData,
Writer writer,
String hostCharset)
Transforms host data to JSON using a specific host character set. |
void |
toJson(byte[] hostData,
Writer writer,
String hostCharset,
HostTransformStatus status)
Transforms host data to JSON using a specific host character set. |
| Method Detail |
|---|
byte[] toHost(Reader reader,
String hostCharset)
throws HostTransformException
reader - the JSON Reader to unmarshal JSON data fromhostCharset - the host character set
HostTransformException - if transformation fails
byte[] toHost(Reader reader)
throws HostTransformException
reader - the JSON Reader to unmarshal JSON data from
HostTransformException - if transformation fails
void toJson(byte[] hostData,
Writer writer,
String hostCharset)
throws HostTransformException
hostData - a byte array containing host datawriter - JSON will be sent to this writer.hostCharset - the host character set
HostTransformException - if transformation fails
void toJson(byte[] hostData,
Writer writer)
throws HostTransformException
hostData - a byte array containing host datawriter - JSON will be sent to this writer.
HostTransformException - if transformation fails
byte[] toHost(Reader reader,
String hostCharset,
HostTransformStatus status)
throws HostTransformException
reader - the JSON Reader to unmarshal JSON data fromhostCharset - the host character setstatus - will contain information on the transformation after it is
executed
HostTransformException - if transformation fails
byte[] toHost(Reader reader,
HostTransformStatus status)
throws HostTransformException
reader - the JSON Reader to unmarshal JSON data fromstatus - will contain information on the transformation after it is
executed
HostTransformException - if transformation fails
void toJson(byte[] hostData,
Writer writer,
String hostCharset,
HostTransformStatus status)
throws HostTransformException
hostData - a byte array containing host datawriter - JSON will be sent to this writer.hostCharset - the host character setstatus - will contain information on the transformation after it is
executed
HostTransformException - if transformation fails
void toJson(byte[] hostData,
Writer writer,
HostTransformStatus status)
throws HostTransformException
hostData - a byte array containing host datawriter - JSON will be sent to this writer.status - will contain information on the transformation after it is
executed
HostTransformException - if transformation fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||