|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Writer com.objsys.asn1j.runtime.Asn1CharOutputStream com.objsys.asn1j.runtime.Asn1JsonOutputStream
public class Asn1JsonOutputStream
Output stream for JSON Encoding Rules (defined by Obj-Sys). Note that setWriteWhitespace can be used to enable/disable writing of whitespace by the indent method.
Field Summary |
---|
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
Asn1JsonOutputStream(java.io.Writer writer)
Create a JSON output stream. |
Method Summary | |
---|---|
void |
encodeString(java.lang.String value)
Encode the given Java string as a JSON string. |
Methods inherited from class com.objsys.asn1j.runtime.Asn1CharOutputStream |
---|
close, decrLevel, flush, incrLevel, indent, setWriteWhitespace, write |
Methods inherited from class java.io.Writer |
---|
append, append, append, write, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Asn1JsonOutputStream(java.io.Writer writer)
Method Detail |
---|
public void encodeString(java.lang.String value) throws java.io.IOException
value
- The String to encode.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |