javaFlacEncoder
Enum FLAC_FileEncoder.Status

java.lang.Object
  extended by java.lang.Enum<FLAC_FileEncoder.Status>
      extended by javaFlacEncoder.FLAC_FileEncoder.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FLAC_FileEncoder.Status>
Enclosing class:
FLAC_FileEncoder

public static enum FLAC_FileEncoder.Status
extends java.lang.Enum<FLAC_FileEncoder.Status>

Status enum for encode result


Enum Constant Summary
FILE_IO_ERROR
          Generic file IO Error
FULL_ENCODE
          Everything went well
GENERAL_ERROR
          Something unspecified went wrong...
INTERNAL_ERROR
          internal error is something that went haywire that was discovered due to internal sanity checks.
OK
          No errors found.
OUTPUT_FILE_ERROR
          Error with output file
UNKNOWN
          Unknown State.
UNSUPPORTED_FILE
          File given was not able to be read
UNSUPPORTED_SAMPLE_SIZE
          Sample size unsupported
 
Method Summary
static FLAC_FileEncoder.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FLAC_FileEncoder.Status[] 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 Detail

UNKNOWN

public static final FLAC_FileEncoder.Status UNKNOWN
Unknown State.


FULL_ENCODE

public static final FLAC_FileEncoder.Status FULL_ENCODE
Everything went well


GENERAL_ERROR

public static final FLAC_FileEncoder.Status GENERAL_ERROR
Something unspecified went wrong...


INTERNAL_ERROR

public static final FLAC_FileEncoder.Status INTERNAL_ERROR
internal error is something that went haywire that was discovered due to internal sanity checks. A problem in API.


UNSUPPORTED_FILE

public static final FLAC_FileEncoder.Status UNSUPPORTED_FILE
File given was not able to be read


FILE_IO_ERROR

public static final FLAC_FileEncoder.Status FILE_IO_ERROR
Generic file IO Error


UNSUPPORTED_SAMPLE_SIZE

public static final FLAC_FileEncoder.Status UNSUPPORTED_SAMPLE_SIZE
Sample size unsupported


OUTPUT_FILE_ERROR

public static final FLAC_FileEncoder.Status OUTPUT_FILE_ERROR
Error with output file


OK

public static final FLAC_FileEncoder.Status OK
No errors found.

Method Detail

values

public static FLAC_FileEncoder.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FLAC_FileEncoder.Status c : FLAC_FileEncoder.Status.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FLAC_FileEncoder.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null