Package 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
-
-
Constructor Summary
Constructors Constructor Description StringUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancontains(String target, String content)static StringgetHexString(byte[] raw)Convert a byte array into a hex string representationstatic StringtoStringArrayToString(String[] array)
-
-
-
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
-
-