public class FormatUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Class |
audioFormatClass |
static Class |
byteArray |
static Class |
formatArray |
static Class |
intArray |
static Class |
shortArray |
static Class |
videoFormatClass |
| Constructor and Description |
|---|
FormatUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
byteArraysEqual(byte[] ba1,
byte[] ba2) |
static String |
frameRateToString(float frameRate) |
static boolean |
isOneAssignableFromTheOther(Class a,
Class b) |
static boolean |
isSubclass(Class a,
Class b)
Is a a subclass of b? Strict.
|
static boolean |
matches(double v1,
double v2) |
static boolean |
matches(float v1,
float v2) |
static boolean |
matches(int v1,
int v2) |
static boolean |
matches(Object o1,
Object o2) |
static boolean |
nullSafeEquals(Object o1,
Object o2) |
static boolean |
nullSafeEqualsIgnoreCase(String o1,
String o2) |
static boolean |
specified(double v) |
static boolean |
specified(float v) |
static boolean |
specified(int v) |
static boolean |
specified(Object o) |
static long |
stringEncodingCodeVal(String s) |
public static final Class byteArray
public static final Class shortArray
public static final Class intArray
public static final Class formatArray
public static final Class videoFormatClass
public static final Class audioFormatClass
public static long stringEncodingCodeVal(String s)
public static boolean specified(Object o)
public static boolean specified(int v)
public static boolean specified(float v)
public static boolean specified(double v)
public static boolean byteArraysEqual(byte[] ba1,
byte[] ba2)
public static boolean matches(int v1,
int v2)
public static boolean matches(float v1,
float v2)
public static boolean matches(double v1,
double v2)
public static String frameRateToString(float frameRate)
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.