Package org.jose4j.lang
Class StringUtil
java.lang.Object
org.jose4j.lang.StringUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
static byte[]
getBytesAscii
(String string) static byte[]
getBytesUnchecked
(String string, String charsetName) static byte[]
getBytesUtf8
(String string) static String
static String
static String
newStringUsAscii
(byte[] bytes) static String
newStringUtf8
(byte[] bytes)
-
Field Details
-
UTF_8
- See Also:
-
US_ASCII
- See Also:
-
-
Constructor Details
-
StringUtil
public StringUtil()
-
-
Method Details
-
newStringUtf8
-
newStringUsAscii
-
newString
-
newString
-
getBytesUtf8
-
getBytesAscii
-
getBytes
-
getBytesUnchecked
-