Class Decoder

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class Decoder
    extends java.lang.Object
    implements java.io.Closeable
    • Method Detail

      • from

        public Decoder from​(java.io.File file)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • from

        public Decoder from​(java.io.InputStream in)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • from

        public Decoder from​(byte[] data)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • charset

        public Decoder charset​(java.lang.String encoding)
      • charset

        public Decoder charset​(java.nio.charset.Charset encoding)
      • from

        public Decoder from​(java.io.Reader in)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • faq

        public Decoder faq​(java.lang.String in)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • from

        public Decoder from​(java.lang.String in)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • mark

        public Decoder mark()
                     throws java.security.NoSuchAlgorithmException
        Throws:
        java.security.NoSuchAlgorithmException
      • digest

        public byte[] digest()
      • get

        public <T> T get​(java.lang.Class<T> clazz)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • get

        public java.lang.Object get​(java.lang.reflect.Type type)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • get

        public java.lang.Object get()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • get

        public <T> T get​(TypeReference<T> ref)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • keepOpen

        public Decoder keepOpen()
      • isEof

        public boolean isEof()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • getExtra

        public java.util.Map<java.lang.String,​java.lang.Object> getExtra()
      • inflate

        public Decoder inflate()