Package com.stardog.stark.io

# Enum Class FileFormat.Compression

java.lang.Object
java.lang.Enum<FileFormat.Compression>
com.stardog.stark.io.FileFormat.Compression

All Implemented Interfaces:
  `Serializable`, `Comparable<FileFormat.Compression>`, `Constable`

Enclosing interface:
  `FileFormat`

public static enum FileFormat.Compression extends Enum<FileFormat.Compression>

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `BZIP2`
  `GZIP`
  `NONE`
  `ZIP`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final String`
  `mExt`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `OutputStream`
  `compress(OutputStream theStream)`
  `InputStream`
  `decompress(InputStream theStream)`
  `String`
  `extension()`
  `static FileFormat.Compression`
  `of(String theValue)`
  `boolean`
  `supportsUnknownBaseFormat()`
  `static FileFormat.Compression`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static FileFormat.Compression[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### NONE

    public static final FileFormat.Compression NONE

  - ### GZIP

    public static final FileFormat.Compression GZIP

  - ### BZIP2

    public static final FileFormat.Compression BZIP2

  - ### ZIP

    public static final FileFormat.Compression ZIP

- ## Field Details

  - ### mExt

    public final String mExt

- ## Method Details

  - ### values

    public static FileFormat.Compression[] values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Returns:
      an array containing the constants of this enum class, in the order they are declared

  - ### valueOf

    public static FileFormat.Compression valueOf(String name)
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      `NullPointerException` - if the argument is null

  - ### extension

    public String extension()

  - ### supportsUnknownBaseFormat

    public boolean supportsUnknownBaseFormat()

  - ### decompress

    public InputStream decompress(InputStream theStream) throws IOException
    Throws:
      `IOException`

  - ### compress

    public OutputStream compress(OutputStream theStream) throws IOException
    Throws:
      `IOException`

  - ### of

    public static FileFormat.Compression of(String theValue)