Package eu.medsea.util
Class StringUtil
java.lang.Object
eu.medsea.util.StringUtil
A string utility class with various string manipulation functions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static String
getHexString
(byte[] raw) Convert a byte array into a hex string representationstatic String
toStringArrayToString
(String[] array)
-
Constructor Details
-
StringUtil
public StringUtil()
-
-
Method Details
-
getHexString
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
-
toStringArrayToString
-