public class Decoder extends Object implements Closeable
Modifier and Type | Method and Description |
---|---|
Decoder |
charset(Charset encoding) |
Decoder |
charset(String encoding) |
void |
close() |
byte[] |
digest() |
Decoder |
faq(String in) |
Decoder |
from(byte[] data) |
Decoder |
from(File file) |
Decoder |
from(InputStream in) |
Decoder |
from(Reader in) |
Decoder |
from(String in) |
Object |
get() |
<T> T |
get(Class<T> clazz) |
Object |
get(Type type) |
<T> T |
get(TypeReference<T> ref) |
Map<String,Object> |
getExtra() |
Decoder |
inflate() |
boolean |
isEof() |
Decoder |
keepOpen() |
Decoder |
mark() |
Decoder |
strict() |
public Decoder from(InputStream in) throws Exception
Exception
public Decoder strict()
public Decoder mark() throws NoSuchAlgorithmException
NoSuchAlgorithmException
public byte[] digest()
public <T> T get(TypeReference<T> ref) throws Exception
Exception
public Decoder keepOpen()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public Decoder inflate()
Copyright © 2021 aQute SARL. All rights reserved.