public class Encoder extends Object implements Appendable, Closeable, Flushable
| Modifier and Type | Method and Description |
|---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence sq) |
Appendable |
append(CharSequence sq,
int start,
int length) |
Encoder |
charset(Charset encoding) |
Encoder |
charset(String encoding) |
void |
close() |
Encoder |
deflate() |
byte[] |
digest() |
void |
flush() |
Encoder |
indent(String tabs) |
Encoder |
keepOpen() |
Encoder |
mark() |
Encoder |
put(Object object) |
Encoder |
to() |
Encoder |
to(Appendable out) |
Encoder |
to(File file) |
Encoder |
to(OutputStream out) |
String |
toString() |
Encoder |
writeDefaults() |
public Encoder mark() throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic byte[] digest()
throws NoSuchAlgorithmException,
IOException
NoSuchAlgorithmExceptionIOExceptionpublic Encoder to() throws IOException
IOExceptionpublic Encoder to(File file) throws IOException
IOExceptionpublic Encoder to(OutputStream out) throws IOException
IOExceptionpublic Encoder to(Appendable out) throws IOException
IOExceptionpublic Appendable append(char c) throws IOException
append in interface AppendableIOExceptionpublic Appendable append(CharSequence sq) throws IOException
append in interface AppendableIOExceptionpublic Appendable append(CharSequence sq, int start, int length) throws IOException
append in interface AppendableIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic Encoder writeDefaults()
public void flush()
throws IOException
flush in interface FlushableIOExceptionpublic Encoder deflate()
public Encoder keepOpen()
Copyright © 2019 aQute SARL. All rights reserved.