public enum AiffChunkType extends Enum<AiffChunkType>
ChunkHeader
. They are always 4 ASCII chars long.Chunk
Enum Constant and Description |
---|
ANNOTATION |
APPLICATION |
AUTHOR |
COMMENTS |
COMMON |
COPYRIGHT |
CORRUPT_TAG_EARLY |
CORRUPT_TAG_LATE |
FORMAT_VERSION |
NAME |
SOUND |
TAG |
Modifier and Type | Method and Description |
---|---|
static AiffChunkType |
get(String code)
Get
AiffChunkType for code (e.g. |
String |
getCode()
4 char type code.
|
static AiffChunkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AiffChunkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AiffChunkType FORMAT_VERSION
public static final AiffChunkType APPLICATION
public static final AiffChunkType SOUND
public static final AiffChunkType COMMON
public static final AiffChunkType COMMENTS
public static final AiffChunkType NAME
public static final AiffChunkType AUTHOR
public static final AiffChunkType COPYRIGHT
public static final AiffChunkType ANNOTATION
public static final AiffChunkType TAG
public static final AiffChunkType CORRUPT_TAG_LATE
public static final AiffChunkType CORRUPT_TAG_EARLY
public static AiffChunkType[] values()
for (AiffChunkType c : AiffChunkType.values()) System.out.println(c);
public static AiffChunkType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static AiffChunkType get(String code)
AiffChunkType
for code (e.g. "SSND").code
- chunk idnull
if not registeredpublic String getCode()
Copyright © 2005–2020 jthink.net. All rights reserved.