public enum WavChunkType extends Enum<WavChunkType>
ChunkHeader
. They are always 4 ASCII chars long.Chunk
Enum Constant and Description |
---|
BRDK |
DATA |
FACT |
FORMAT |
ID3 |
ID3_UPPERCASE |
INFO |
IXML |
JUNK |
LIST |
PAD |
Modifier and Type | Method and Description |
---|---|
static WavChunkType |
get(String code)
Get
WavChunkType for code (e.g. |
String |
getCode()
4 char type code.
|
static WavChunkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WavChunkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WavChunkType FORMAT
public static final WavChunkType FACT
public static final WavChunkType DATA
public static final WavChunkType LIST
public static final WavChunkType INFO
public static final WavChunkType ID3
public static final WavChunkType JUNK
public static final WavChunkType PAD
public static final WavChunkType IXML
public static final WavChunkType BRDK
public static final WavChunkType ID3_UPPERCASE
public static WavChunkType[] values()
for (WavChunkType c : WavChunkType.values()) System.out.println(c);
public static WavChunkType 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 WavChunkType get(String code)
WavChunkType
for code (e.g. "SSND").code
- chunk idnull
if not registeredpublic String getCode()
Copyright © 2005–2020 jthink.net. All rights reserved.