org.jcodec.common.model
Enum ChannelLabel
java.lang.Object
java.lang.Enum<ChannelLabel>
org.jcodec.common.model.ChannelLabel
- All Implemented Interfaces:
- Serializable, Comparable<ChannelLabel>
public enum ChannelLabel
- extends Enum<ChannelLabel>
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
- Author:
- The JCodec project
|
Method Summary |
static ChannelLabel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ChannelLabel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
MONO
public static final ChannelLabel MONO
STEREO_LEFT
public static final ChannelLabel STEREO_LEFT
STEREO_RIGHT
public static final ChannelLabel STEREO_RIGHT
LEFT_TOTAL
public static final ChannelLabel LEFT_TOTAL
RIGHT_TOTAL
public static final ChannelLabel RIGHT_TOTAL
FRONT_LEFT
public static final ChannelLabel FRONT_LEFT
FRONT_RIGHT
public static final ChannelLabel FRONT_RIGHT
CENTER
public static final ChannelLabel CENTER
LFE
public static final ChannelLabel LFE
REAR_LEFT
public static final ChannelLabel REAR_LEFT
REAR_RIGHT
public static final ChannelLabel REAR_RIGHT
FRONT_CENTER_LEFT
public static final ChannelLabel FRONT_CENTER_LEFT
FRONT_CENTER_RIGHT
public static final ChannelLabel FRONT_CENTER_RIGHT
REAR_CENTER
public static final ChannelLabel REAR_CENTER
SIDE_LEFT
public static final ChannelLabel SIDE_LEFT
SIDE_RIGHT
public static final ChannelLabel SIDE_RIGHT
values
public static ChannelLabel[] 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 (ChannelLabel c : ChannelLabel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ChannelLabel valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2013. All Rights Reserved.