org.tritonus.test
Class Util

java.lang.Object
  extended by org.tritonus.test.Util

public class Util
extends java.lang.Object


Constructor Summary
Util()
           
 
Method Summary
static boolean compareByteArrays(byte[] ab1, int nOffset1, byte[] ab2, int nOffset2, int nLength)
           
static void dumpByteArray(byte[] ab)
           
static byte[] getByteArrayFromFile(java.io.File file)
           
static void sleep(long milliseconds)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

dumpByteArray

public static void dumpByteArray(byte[] ab)

compareByteArrays

public static boolean compareByteArrays(byte[] ab1,
                                        int nOffset1,
                                        byte[] ab2,
                                        int nOffset2,
                                        int nLength)

getByteArrayFromFile

public static byte[] getByteArrayFromFile(java.io.File file)
                                   throws java.io.IOException
Throws:
java.io.IOException

sleep

public static void sleep(long milliseconds)