org.jcodec.codecs.aac
Enum BlockType
java.lang.Object
java.lang.Enum<BlockType>
org.jcodec.codecs.aac.BlockType
- All Implemented Interfaces:
- Serializable, Comparable<BlockType>
public enum BlockType
- extends Enum<BlockType>
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
AAC block types
- Author:
- The JCodec project
TYPE_SCE
public static final BlockType TYPE_SCE
TYPE_CPE
public static final BlockType TYPE_CPE
TYPE_CCE
public static final BlockType TYPE_CCE
TYPE_LFE
public static final BlockType TYPE_LFE
TYPE_DSE
public static final BlockType TYPE_DSE
TYPE_PCE
public static final BlockType TYPE_PCE
TYPE_FIL
public static final BlockType TYPE_FIL
TYPE_END
public static final BlockType TYPE_END
values
public static BlockType[] 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 (BlockType c : BlockType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BlockType 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
fromCode
public static BlockType fromCode(long readNBit)
getCode
public int getCode()
Copyright © 2013. All Rights Reserved.