|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjautil.FourCCUtil
public class FourCCUtil
FourCCUtil provides a set of class (that is, static) utility methods for handling four-cc tags.
Field Summary | |
---|---|
static int |
NULL_FOURCC
The null 4-cc value. |
Constructor Summary | |
---|---|
FourCCUtil()
|
Method Summary | |
---|---|
static void |
fourCCBytes(int tag,
FourCCBytes fccb)
Sets the given FourCCBytes object to match the given
4-cc tag value. |
static int |
fourCCInt(java.lang.String name)
Returns the 4-cc value for the given 4-cc name, whose length should not exceed four. |
static java.lang.String |
fourCCString(int tag)
Returns the unpadded string representation of the given 4-cc tag. |
static java.lang.String |
fourCCStringPadded(int tag)
Returns the unpadded string representation of the given 4-cc tag, padded to length 4 with spaces if necessary. |
static boolean |
isNonNull(int fourcc)
Tests whether the given 4-cc value is non-null. |
static boolean |
isNull(int fourcc)
Tests whether the given 4-cc value is null. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int NULL_FOURCC
Constructor Detail |
---|
public FourCCUtil()
Method Detail |
---|
public static int fourCCInt(java.lang.String name)
public static java.lang.String fourCCString(int tag)
public static java.lang.String fourCCStringPadded(int tag)
public static void fourCCBytes(int tag, FourCCBytes fccb)
FourCCBytes
object to match the given
4-cc tag value.
public static boolean isNull(int fourcc)
public static boolean isNonNull(int fourcc)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |