aQute.lib.json
Class Decoder
java.lang.Object
aQute.lib.json.Decoder
- All Implemented Interfaces:
- Closeable
public class Decoder
- extends Object
- implements Closeable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
from
public Decoder from(File file)
throws Exception
- Throws:
Exception
from
public Decoder from(InputStream in)
throws Exception
- Throws:
Exception
charset
public Decoder charset(String encoding)
strict
public Decoder strict()
from
public Decoder from(Reader in)
throws Exception
- Throws:
Exception
faq
public Decoder faq(String in)
throws Exception
- Throws:
Exception
from
public Decoder from(String in)
throws Exception
- Throws:
Exception
mark
public Decoder mark()
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
digest
public byte[] digest()
get
public <T> T get(Class<T> clazz)
throws Exception
- Throws:
Exception
get
public Object get(Type type)
throws Exception
- Throws:
Exception
get
public Object get()
throws Exception
- Throws:
Exception
get
public <T> T get(TypeReference<T> ref)
throws Exception
- Throws:
Exception
keepOpen
public Decoder keepOpen()
isEof
public boolean isEof()
throws Exception
- Throws:
Exception
close
public void close()
throws IOException
- Specified by:
close in interface Closeable
- Throws:
IOException
getExtra
public Map<String,Object> getExtra()
inflate
public Decoder inflate()
Copyright © 2014 aQute SARL. All rights reserved.