Enum FramedSnappyDialect

java.lang.Object
java.lang.Enum<FramedSnappyDialect>
org.apache.commons.compress.compressors.snappy.FramedSnappyDialect
All Implemented Interfaces:
Serializable, Comparable<FramedSnappyDialect>

public enum FramedSnappyDialect extends Enum<FramedSnappyDialect>
Dialects of the framing format that FramedSnappyCompressorInputStream can deal with.
Since:
1.12
  • Enum Constant Details

  • Field Details

    • streamIdentifier

      private final boolean streamIdentifier
    • checksumWithCompressedChunks

      private final boolean checksumWithCompressedChunks
  • Constructor Details

    • FramedSnappyDialect

      private FramedSnappyDialect(boolean hasStreamIdentifier, boolean usesChecksumWithCompressedChunks)
  • Method Details

    • values

      public static FramedSnappyDialect[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FramedSnappyDialect valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • hasStreamIdentifier

      boolean hasStreamIdentifier()
    • usesChecksumWithCompressedChunks

      boolean usesChecksumWithCompressedChunks()