marytts.util
Class ConversionUtils

java.lang.Object
  extended by marytts.util.ConversionUtils

public class ConversionUtils
extends java.lang.Object

Author:
Oytun Türk

Constructor Summary
ConversionUtils()
           
 
Method Summary
static boolean toBoolean(byte[] byteArray)
           
static boolean[] toBooleanArray(byte[] byteArray)
           
static byte toByte(byte[] byteArray)
           
static byte[] toByteArray(boolean data)
           
static byte[] toByteArray(boolean[] data)
           
static byte[] toByteArray(byte byteArray)
           
static byte[] toByteArray(byte[] byteArray)
           
static byte[] toByteArray(char data)
           
static byte[] toByteArray(char[] data)
           
static byte[] toByteArray(double data)
           
static byte[] toByteArray(double[] data)
           
static byte[] toByteArray(float data)
           
static byte[] toByteArray(float[] data)
           
static byte[] toByteArray(int data)
           
static byte[] toByteArray(int[] data)
           
static byte[] toByteArray(long data)
           
static byte[] toByteArray(long[] data)
           
static byte[] toByteArray(short data)
           
static byte[] toByteArray(short[] data)
           
static byte[] toByteArray(java.lang.String data)
           
static byte[] toByteArray(java.lang.String[] data)
           
static char toChar(byte[] byteArray)
           
static char[] toCharArray(byte[] byteArray)
           
static double toDouble(byte[] byteArray)
           
static double[] toDoubleArray(byte[] byteArray)
           
static float toFloat(byte[] byteArray)
           
static float[] toFloatArray(byte[] byteArray)
           
static int toInt(byte[] byteArray)
           
static int[] toIntArray(byte[] byteArray)
           
static long toLong(byte[] byteArray)
           
static long[] toLongArray(byte[] byteArray)
           
static short toShort(byte[] byteArray)
           
static short[] toShortArray(byte[] byteArray)
           
static java.lang.String toString(byte[] byteArray)
           
static java.lang.String[] toStringArray(byte[] byteArray)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversionUtils

public ConversionUtils()
Method Detail

toByteArray

public static byte[] toByteArray(byte byteArray)

toByteArray

public static byte[] toByteArray(byte[] byteArray)

toByteArray

public static byte[] toByteArray(short data)

toByteArray

public static byte[] toByteArray(short[] data)

toByteArray

public static byte[] toByteArray(char data)

toByteArray

public static byte[] toByteArray(char[] data)

toByteArray

public static byte[] toByteArray(int data)

toByteArray

public static byte[] toByteArray(int[] data)

toByteArray

public static byte[] toByteArray(long data)

toByteArray

public static byte[] toByteArray(long[] data)

toByteArray

public static byte[] toByteArray(float data)

toByteArray

public static byte[] toByteArray(float[] data)

toByteArray

public static byte[] toByteArray(double data)

toByteArray

public static byte[] toByteArray(double[] data)

toByteArray

public static byte[] toByteArray(boolean data)

toByteArray

public static byte[] toByteArray(boolean[] data)

toByteArray

public static byte[] toByteArray(java.lang.String data)

toByteArray

public static byte[] toByteArray(java.lang.String[] data)

toByte

public static byte toByte(byte[] byteArray)

toShort

public static short toShort(byte[] byteArray)

toShortArray

public static short[] toShortArray(byte[] byteArray)

toChar

public static char toChar(byte[] byteArray)

toCharArray

public static char[] toCharArray(byte[] byteArray)

toInt

public static int toInt(byte[] byteArray)

toIntArray

public static int[] toIntArray(byte[] byteArray)

toLong

public static long toLong(byte[] byteArray)

toLongArray

public static long[] toLongArray(byte[] byteArray)

toFloat

public static float toFloat(byte[] byteArray)

toFloatArray

public static float[] toFloatArray(byte[] byteArray)

toDouble

public static double toDouble(byte[] byteArray)

toDoubleArray

public static double[] toDoubleArray(byte[] byteArray)

toBoolean

public static boolean toBoolean(byte[] byteArray)

toBooleanArray

public static boolean[] toBooleanArray(byte[] byteArray)

toString

public static java.lang.String toString(byte[] byteArray)

toStringArray

public static java.lang.String[] toStringArray(byte[] byteArray)