util
Class ConvertUtils

java.lang.Object
  extended by util.ConvertUtils

public class ConvertUtils
extends java.lang.Object

ConverUtils provide functions for video conversion Should only be accessed in static way

Author:
SebastianWe

Constructor Summary
ConvertUtils()
           
 
Method Summary
static int getHeightFromScala(java.lang.String scala)
          Get the Height from a scala string
static int getRateFromRateString(java.lang.String rate)
          Get the rate from a rate string
static int getWidthFromScala(java.lang.String scala)
          Get the Width from a scala string
static java.lang.String StringArrayToString(java.lang.String[] arr)
          Get a readable String from a String array
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertUtils

public ConvertUtils()
Method Detail

getWidthFromScala

public static int getWidthFromScala(java.lang.String scala)
Get the Width from a scala string

Parameters:
scala - scala (eq. " 345x123")
Returns:
width

getHeightFromScala

public static int getHeightFromScala(java.lang.String scala)
Get the Height from a scala string

Parameters:
scala - scala (eq. " 345x123")
Returns:
height

getRateFromRateString

public static int getRateFromRateString(java.lang.String rate)
Get the rate from a rate string

Parameters:
rate - rate (eq. "12345 kb/s")
Returns:
rate

StringArrayToString

public static java.lang.String StringArrayToString(java.lang.String[] arr)
Get a readable String from a String array

Parameters:
arr - String array
Returns:
String