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