Package aQute.lib.json
Class Encoder
java.lang.Object
aQute.lib.json.Encoder
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionappend
(char c) append
(CharSequence sq) append
(CharSequence sq, int start, int length) void
close()
deflate()
byte[]
digest()
void
flush()
keepOpen()
mark()
to()
to
(OutputStream out) to
(Appendable out) toString()
-
Method Details
-
put
- Throws:
Exception
-
mark
- Throws:
NoSuchAlgorithmException
-
digest
- Throws:
NoSuchAlgorithmException
IOException
-
to
- Throws:
IOException
-
to
- Throws:
IOException
-
charset
-
charset
-
to
- Throws:
IOException
-
to
- Throws:
IOException
-
append
- Specified by:
append
in interfaceAppendable
- Throws:
IOException
-
append
- Specified by:
append
in interfaceAppendable
- Throws:
IOException
-
append
- Specified by:
append
in interfaceAppendable
- Throws:
IOException
-
toString
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
writeDefaults
-
flush
- Specified by:
flush
in interfaceFlushable
- Throws:
IOException
-
deflate
-
indent
-
linebreak
-
keepOpen
-