eu.medsea.util
Class StringUtil
java.lang.Object
eu.medsea.util.StringUtil
public class StringUtil
- extends Object
A string utility class with various string manipulation functions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtil
public StringUtil()
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-2010 Medsea Business Solutions S.L.. All Rights Reserved.