com.jagacy.util
Class Util

java.lang.Object
  extended bycom.jagacy.util.Util

public class Util
extends java.lang.Object

TODO Description of class

Author:
Robert M. Preston

Constructor Summary
Util()
           
 
Method Summary
static java.lang.String concat(java.lang.String prefix, java.lang.String suffix)
           
static boolean find(byte b, byte[] bytes)
           
static int indexOf(byte b, byte[] bytes)
           
static boolean isEmpty(byte[] b)
           
static boolean isEmpty(java.lang.String s)
           
static java.lang.String rightTrim(java.lang.String trim)
           
static java.lang.String toHex(byte b)
           
 
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

isEmpty

public static boolean isEmpty(java.lang.String s)

isEmpty

public static boolean isEmpty(byte[] b)

toHex

public static java.lang.String toHex(byte b)

find

public static boolean find(byte b,
                           byte[] bytes)

indexOf

public static int indexOf(byte b,
                          byte[] bytes)

concat

public static java.lang.String concat(java.lang.String prefix,
                                      java.lang.String suffix)

rightTrim

public static java.lang.String rightTrim(java.lang.String trim)