org.mobicents.sdp
Class FormatUtils

java.lang.Object
  extended by org.mobicents.sdp.FormatUtils

public class FormatUtils
extends Object


Constructor Summary
FormatUtils()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatUtils

public FormatUtils()
Method Detail

isSubclass

public static boolean isSubclass(Class a,
                                 Class b)
Is a a subclass of b? Strict.


isOneAssignableFromTheOther

public static boolean isOneAssignableFromTheOther(Class a,
                                                  Class b)

stringEncodingCodeVal

public static long stringEncodingCodeVal(String s)

specified

public static boolean specified(Object o)

specified

public static boolean specified(int v)

specified

public static boolean specified(float v)

specified

public static boolean specified(double v)

byteArraysEqual

public static boolean byteArraysEqual(byte[] ba1,
                                      byte[] ba2)

nullSafeEquals

public static boolean nullSafeEquals(Object o1,
                                     Object o2)

nullSafeEqualsIgnoreCase

public static boolean nullSafeEqualsIgnoreCase(String o1,
                                               String o2)

matches

public static boolean matches(Object o1,
                              Object o2)

matches

public static boolean matches(int v1,
                              int v2)

matches

public static boolean matches(float v1,
                              float v2)

matches

public static boolean matches(double v1,
                              double v2)

frameRateToString

public static String frameRateToString(float frameRate)


Copyright © 2013 TeleStax, Inc.. All Rights Reserved.