com.meiglobal.ebds.api.util
Class Util

java.lang.Object
  extended by com.meiglobal.ebds.api.util.Util

public class Util
extends java.lang.Object

Utility class


Constructor Summary
Util()
           
 
Method Summary
static int byteToIntBE(byte[] b)
          Converts a byte array to int
static java.lang.String hexString(byte[] b)
          Converts a byte array to an hex string representation.
static void sleep(long i)
          Sleeps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

byteToIntBE

public static int byteToIntBE(byte[] b)
Converts a byte array to int

Parameters:
b - The byte array to process
Returns:
The int value result of processing the byte array

sleep

public static void sleep(long i)
Sleeps

Parameters:
i - The time to sleep

hexString

public static java.lang.String hexString(byte[] b)
Converts a byte array to an hex string representation.

Parameters:
b - The byte array to convert.
Returns:
The string representation.