com.ibm.wsdl.util
Class StringUtils

java.lang.Object
  extended bycom.ibm.wsdl.util.StringUtils

public class StringUtils
extends java.lang.Object

Deals with strings (probably need to elaborate some more).

Author:
Matthew J. Duftler

Field Summary
static java.lang.String lineSeparator
           
static java.lang.String lineSeparatorStr
           
 
Constructor Summary
StringUtils()
           
 
Method Summary
static java.lang.String cleanString(java.lang.String str)
           
static java.lang.String getClassName(java.lang.Class targetClass)
           
static java.io.InputStream getContentAsInputStream(java.net.URL url)
           
static java.lang.String getNMTokens(java.util.List list)
           
static java.net.URL getURL(java.net.URL contextURL, java.lang.String spec)
           
static java.util.List parseNMTokens(java.lang.String nmTokens)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lineSeparator

public static final java.lang.String lineSeparator

lineSeparatorStr

public static final java.lang.String lineSeparatorStr
Constructor Detail

StringUtils

public StringUtils()
Method Detail

cleanString

public static java.lang.String cleanString(java.lang.String str)

getClassName

public static java.lang.String getClassName(java.lang.Class targetClass)

getURL

public static java.net.URL getURL(java.net.URL contextURL,
                                  java.lang.String spec)
                           throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

getContentAsInputStream

public static java.io.InputStream getContentAsInputStream(java.net.URL url)
                                                   throws java.lang.SecurityException,
                                                          java.lang.IllegalArgumentException,
                                                          java.io.IOException
Throws:
java.lang.SecurityException
java.lang.IllegalArgumentException
java.io.IOException

parseNMTokens

public static java.util.List parseNMTokens(java.lang.String nmTokens)

getNMTokens

public static java.lang.String getNMTokens(java.util.List list)


Copyright ? 2003 IBM. All Rights Reserved.