Package lzma.streams

Class LzmaEncoderWrapper

  • All Implemented Interfaces:
    Coder

    public class LzmaEncoderWrapper
    extends java.lang.Object
    implements Coder
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  LzmaEncoderWrapper.Builder
      A convenient builder that makes it easier to configure the LZMA encoder.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Encoder encoder  
      private static byte[] MINUS_ONE  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void code​(java.io.InputStream in, java.io.OutputStream out)  
      • Methods inherited from class java.lang.Object

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

      • MINUS_ONE

        private static final byte[] MINUS_ONE
      • encoder

        private final Encoder encoder
    • Constructor Detail

      • LzmaEncoderWrapper

        public LzmaEncoderWrapper​(Encoder encoder)
    • Method Detail

      • code

        public void code​(java.io.InputStream in,
                         java.io.OutputStream out)
                  throws java.io.IOException
        Specified by:
        code in interface Coder
        Throws:
        java.io.IOException