org.apache.woden.internal.util
Class StringUtils

java.lang.Object
  extended by org.apache.woden.internal.util.StringUtils

public class StringUtils
extends java.lang.Object

This class originated from WSDL4J.

Author:
Matthew J. Duftler, jkaputin@apache.org (Woden changes)

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 fileSpec)
           
static java.util.List parseNMTokens(java.lang.String nmTokens)
           
static java.util.List parseNMTokens(java.lang.String nmTokens, java.lang.String delimiter)
           
 
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 fileSpec)
                           throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

getContentAsInputStream

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

parseNMTokens

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

parseNMTokens

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

getNMTokens

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


Copyright © 2007. All Rights Reserved.