com.ibm.security.certclient.util
Class PkString
- java.lang.Object
com.ibm.security.certclient.util.PkString
- public class PkString
- extends Object
Author:
Rod Mancisidor
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
join(Object[] objs,String separator)
Returns a string that is the result of joining each element of
objs (as a String) with separator.
|
|
join(String[] strs,String separator)
Returns a string that is the result of joining each element of
strs with separator.
|
|
split(String str,String separator)
Returns an array of strings that results from splitting
str
using separator.
|
|
toString(byte[] utf)
Returns the
String that corresponds to the UTF-8 byte array
utf.
|
|
toString(byte[] utf,int offset,int length)
Returns the
String that corresponds to the UTF-8 byte array
utf from offset to length.
|
|
toUtf(String unicode)
Returns the UTF-8 byte array representation of
unicode.
|
|
trim(String[] strs)
Applies the trim method to each element of strs array, returns
resulting array.
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail
split
join
Returns a string that is the result of joining each element of
objs (as a String) with separator.
join
Returns a string that is the result of joining each element of
strs with separator.
trim
Applies the trim method to each element of strs array, returns
resulting array.
toString
- public static String toString(byte[] utf)
Returns the
String that corresponds to the UTF-8 byte array
utf.
toString
- public static String toString(byte[] utf,
- int offset,
- int length)
Returns the
String that corresponds to the UTF-8 byte array
utf from offset to length.
toUtf
- public static byte[] toUtf(String unicode)
Returns the UTF-8 byte array representation of
unicode.
strusingseparator.