eu.medsea.util
Class StringUtil

java.lang.Object
  extended by eu.medsea.util.StringUtil

public class StringUtil
extends Object

A string utility class with various string manipulation functions


Constructor Summary
StringUtil()
           
 
Method Summary
static String getHexString(byte[] raw)
          Convert a byte array into a hex string representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtil

public StringUtil()
Method Detail

getHexString

public static String getHexString(byte[] raw)
                           throws UnsupportedEncodingException
Convert a byte array into a hex string representation

Parameters:
raw - the byte [] to convert to a hex string representation
Returns:
the hex representation
Throws:
UnsupportedEncodingException


Copyright © 2007-2009 Medsea Business Solutions S.L.. All Rights Reserved.