org.jcodec.common.model
Enum ChannelLabel

java.lang.Object
  extended by java.lang.Enum<ChannelLabel>
      extended by 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

Enum Constant Summary
CENTER
           
FRONT_CENTER_LEFT
           
FRONT_CENTER_RIGHT
           
FRONT_LEFT
           
FRONT_RIGHT
           
LEFT_TOTAL
           
LFE
           
MONO
           
REAR_CENTER
           
REAR_LEFT
           
REAR_RIGHT
           
RIGHT_TOTAL
           
SIDE_LEFT
           
SIDE_RIGHT
           
STEREO_LEFT
           
STEREO_RIGHT
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.