Package sop.util
Class UTF8Util
java.lang.Object
sop.util.UTF8Util
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
decodeUTF8
(byte[] data) Detect non-valid UTF8 data.
-
Field Details
-
UTF8
-
-
Constructor Details
-
UTF8Util
public UTF8Util()
-
-
Method Details
-
decodeUTF8
Detect non-valid UTF8 data.- Parameters:
data
- utf-8 encoded bytes- Returns:
- decoded string
- Throws:
CharacterCodingException
- if the input data does not resemble UTF8- See Also:
-