Package com.avoka.fc.core.util
Class EncodingUtils
java.lang.Object
com.avoka.fc.core.util.EncodingUtils
Provides utility methods around string encoding.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
EncodingUtils
public EncodingUtils()
-
-
Method Details
-
toString
Convert a byte array to a string using a specific encoding.- Parameters:
data
- the source byte array (required)encoding
- the encoding to use- Returns:
- a string with the contents of the byte array decoded into characters
-