Enum CompressedSource.CompressionMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AUTO
      Deprecated.
       
      BZIP2
      Deprecated.
       
      DEFLATE
      Deprecated.
       
      GZIP
      Deprecated.
       
      LZO
      Deprecated.
       
      LZOP
      Deprecated.
       
      SNAPPY
      Deprecated.
       
      UNCOMPRESSED
      Deprecated.
       
      ZIP
      Deprecated.
       
      ZSTD
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.nio.channels.ReadableByteChannel createDecompressingChannel​(java.nio.channels.ReadableByteChannel channel)
      Deprecated.
      Given a channel, create a channel that decompresses the content read from the channel.
      static boolean isCompressed​(java.lang.String filename)
      Deprecated.
      Returns whether the file's extension matches of one of the known compression formats.
      boolean matches​(java.lang.String fileName)
      Deprecated.
      Returns true if the given file name implies that the contents are compressed according to the compression embodied by this factory.
      static CompressedSource.CompressionMode valueOf​(java.lang.String name)
      Deprecated.
      Returns the enum constant of this type with the specified name.
      static CompressedSource.CompressionMode[] values()
      Deprecated.
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait