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(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
NoSuchAlgorithmException
public byte[] digest() throws NoSuchAlgorithmException, IOException
NoSuchAlgorithmException
IOException
public Encoder to() throws IOException
IOException
public Encoder to(File file) throws IOException
IOException
public Encoder to(OutputStream out) throws IOException
IOException
public Encoder to(Appendable out) throws IOException
IOException
public Appendable append(char c) throws IOException
append
in interface Appendable
IOException
public Appendable append(CharSequence sq) throws IOException
append
in interface Appendable
IOException
public Appendable append(CharSequence sq, int start, int length) throws IOException
append
in interface Appendable
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public Encoder writeDefaults()
public void flush() throws IOException
flush
in interface Flushable
IOException
public Encoder deflate()
public Encoder keepOpen()
Copyright © 2015 aQute SARL. All rights reserved.