public enum VorbisPacketType extends java.lang.Enum<VorbisPacketType>
Enum Constant and Description |
---|
AUDIO |
COMMENT_HEADER |
IDENTIFICATION_HEADER |
SETUP_HEADER |
Modifier and Type | Field and Description |
---|---|
(package private) int |
type |
Modifier and Type | Method and Description |
---|---|
int |
getType() |
static VorbisPacketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VorbisPacketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VorbisPacketType AUDIO
public static final VorbisPacketType IDENTIFICATION_HEADER
public static final VorbisPacketType COMMENT_HEADER
public static final VorbisPacketType SETUP_HEADER
public static VorbisPacketType[] values()
for (VorbisPacketType c : VorbisPacketType.values()) System.out.println(c);
public static VorbisPacketType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getType()
Copyright © 2005-2013 java.net. All Rights Reserved.