Package org.gudy.bouncycastle.util
Class Strings
java.lang.Object
org.gudy.bouncycastle.util.Strings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
fromUTF8ByteArray
(byte[] bytes) static String[]
static byte[]
toByteArray
(String string) static String
toLowerCase
(String string) A locale independent version of toLowerCase.static String
toUpperCase
(String string) A locale independent version of toUpperCase.static byte[]
toUTF8ByteArray
(String string)
-
Constructor Details
-
Strings
public Strings()
-
-
Method Details
-
fromUTF8ByteArray
-
toUTF8ByteArray
-
toUpperCase
A locale independent version of toUpperCase.- Parameters:
string
- input to be converted- Returns:
- a US Ascii uppercase version
-
toLowerCase
A locale independent version of toLowerCase.- Parameters:
string
- input to be converted- Returns:
- a US ASCII lowercase version
-
toByteArray
-
split
-