org.gudy.bouncycastle.util
Class Strings
java.lang.Object
org.gudy.bouncycastle.util.Strings
public final class Strings
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Strings
public Strings()
fromUTF8ByteArray
public static String fromUTF8ByteArray(byte[] bytes)
toUTF8ByteArray
public static byte[] toUTF8ByteArray(String string)
toUpperCase
public static String toUpperCase(String string)
- A locale independent version of toUpperCase.
- Parameters:
string
- input to be converted
- Returns:
- a US Ascii uppercase version
toLowerCase
public static String toLowerCase(String string)
- A locale independent version of toLowerCase.
- Parameters:
string
- input to be converted
- Returns:
- a US ASCII lowercase version
toByteArray
public static byte[] toByteArray(String string)
split
public static String[] split(String input,
char delimiter)