Package org.apache.commons.compress.compressors.lz4

# Enum FramedLZ4CompressorOutputStream.BlockSize

java.lang.Object
java.lang.Enum<FramedLZ4CompressorOutputStream.BlockSize>
org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.BlockSize

All Implemented Interfaces:
  `Serializable`, `Comparable<FramedLZ4CompressorOutputStream.BlockSize>`

Enclosing class:
  FramedLZ4CompressorOutputStream

public static enum FramedLZ4CompressorOutputStream.BlockSize extends Enum<FramedLZ4CompressorOutputStream.BlockSize>
The block sizes supported by the format.

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `K256`
  Block size of 256K
  `K64`
  Block size of 64K
  `M1`
  Block size of 1M
  `M4`
  Block size of 4M

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static FramedLZ4CompressorOutputStream.BlockSize`
  `valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static FramedLZ4CompressorOutputStream.BlockSize[]`
  `values()`
  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`

- ## Enum Constant Details

  - ### K64

    public static final FramedLZ4CompressorOutputStream.BlockSize K64
    Block size of 64K

  - ### K256

    public static final FramedLZ4CompressorOutputStream.BlockSize K256
    Block size of 256K

  - ### M1

    public static final FramedLZ4CompressorOutputStream.BlockSize M1
    Block size of 1M

  - ### M4

    public static final FramedLZ4CompressorOutputStream.BlockSize M4
    Block size of 4M

- ## Method Details

  - ### values

    public static FramedLZ4CompressorOutputStream.BlockSize[] 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 FramedLZ4CompressorOutputStream.BlockSize 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