javaFlacEncoder
Enum MetadataBlockHeader.MetadataBlockType

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

public static enum MetadataBlockHeader.MetadataBlockType
extends java.lang.Enum<MetadataBlockHeader.MetadataBlockType>

Enum containing the different Metadata block types. See the FLAC spec for more information on the various types.


Enum Constant Summary
APPLICATION
          Application meta-block
CUESHEET
          Cuesheet meta-block
PADDING
          A meta-block to pad the stream, allowing other meta-data to be written in the future without re-writing the entire stream.
PICTURE
          A meta-block to store an image, such as cover-art
SEEKTABLE
          A meta-block which aids in seeking in the stream
STREAMINFO
          A meta-block containing stream configuration information
VORBIS_COMMENT
          A meta-block for tags/comments
 
Method Summary
static MetadataBlockHeader.MetadataBlockType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MetadataBlockHeader.MetadataBlockType[] 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

STREAMINFO

public static final MetadataBlockHeader.MetadataBlockType STREAMINFO
A meta-block containing stream configuration information


PADDING

public static final MetadataBlockHeader.MetadataBlockType PADDING
A meta-block to pad the stream, allowing other meta-data to be written in the future without re-writing the entire stream.


APPLICATION

public static final MetadataBlockHeader.MetadataBlockType APPLICATION
Application meta-block


SEEKTABLE

public static final MetadataBlockHeader.MetadataBlockType SEEKTABLE
A meta-block which aids in seeking in the stream


VORBIS_COMMENT

public static final MetadataBlockHeader.MetadataBlockType VORBIS_COMMENT
A meta-block for tags/comments


CUESHEET

public static final MetadataBlockHeader.MetadataBlockType CUESHEET
Cuesheet meta-block


PICTURE

public static final MetadataBlockHeader.MetadataBlockType PICTURE
A meta-block to store an image, such as cover-art

Method Detail

values

public static MetadataBlockHeader.MetadataBlockType[] 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 (MetadataBlockHeader.MetadataBlockType c : MetadataBlockHeader.MetadataBlockType.values())
    System.out.println(c);

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

valueOf

public static MetadataBlockHeader.MetadataBlockType 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