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 boolean contains(String target, String content)
           
static String getHexString(byte[] raw)
          Convert a byte array into a hex string representation
static String toStringArrayToString(String[] array)
           
 
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

contains

public static boolean contains(String target,
                               String content)

toStringArrayToString

public static String toStringArrayToString(String[] array)


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