com.ibm.security.certclient.util

Class PkNormalize

  1. java.lang.Object
  2. extended bycom.ibm.security.certclient.util.PkNormalize

  1. public class PkNormalize
  2. extends Object

Constructor Summary

Constructor and Description
PkNormalize()

Method Summary

Modifier and Type Method and Description
  1. static
  2. String
join(Object[] item,String sep)
Joins array of Strings by sep and returns a String
  1. String
normalize(String dn)
  1. static
  2. String[]
split(String instr,char sep)
Splits a string by seperater and returns an array of Strings
  1. static
  2. String[]
split(String instr,String sep)
Splits a string by sep and returns a String array
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

PkNormalize

  1. public PkNormalize()

Method Detail

normalize

  1. public String normalize(String dn)
  2. throws Exception
Parameters:
dn - string to normalize
Returns:
String normalized string
Throws:

split

  1. public static String[] split(String instr,
  2. char sep)
Splits a string by seperater and returns an array of Strings
Parameters:
instr - String to split
sep - Character to split String with
Returns:
String[] Returns array of String

split

  1. public static String[] split(String instr,
  2. String sep)
Splits a string by sep and returns a String array
Parameters:
instr - String to split
sep - String to split String with
Returns:
String[] Returns array of String

join

  1. public static String join(Object[] item,
  2. String sep)
Joins array of Strings by sep and returns a String
Parameters:
item - Array of Objects to join
sep - Join item together using sep as the seperator
Returns:
String Returns Object[] joinded by sep