Class Coders.BCJDecoder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.tukaani.xz.FilterOptions opts  
    • Constructor Summary

      Constructors 
      Constructor Description
      BCJDecoder​(org.tukaani.xz.FilterOptions opts)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.io.InputStream decode​(java.lang.String archiveName, java.io.InputStream in, long uncompressedLength, Coder coder, byte[] password, int maxMemoryLimitInKb)  
      (package private) java.io.OutputStream encode​(java.io.OutputStream out, java.lang.Object options)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • opts

        private final org.tukaani.xz.FilterOptions opts
    • Constructor Detail

      • BCJDecoder

        BCJDecoder​(org.tukaani.xz.FilterOptions opts)
    • Method Detail

      • decode

        java.io.InputStream decode​(java.lang.String archiveName,
                                   java.io.InputStream in,
                                   long uncompressedLength,
                                   Coder coder,
                                   byte[] password,
                                   int maxMemoryLimitInKb)
                            throws java.io.IOException
        Specified by:
        decode in class CoderBase
        Returns:
        a stream that reads from in using the configured coder and password.
        Throws:
        java.io.IOException
      • encode

        java.io.OutputStream encode​(java.io.OutputStream out,
                                    java.lang.Object options)
        Overrides:
        encode in class CoderBase
        Returns:
        a stream that writes to out using the given configuration.