org.apache.soap.util
Class StringUtils

java.lang.Object
  |
  +--org.apache.soap.util.StringUtils

public class StringUtils
extends java.lang.Object

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

Version:
$Revision: 1.4 $
Author:
Matthew J. Duftler

Field Summary
static java.lang.String lineSeparator
           
static java.lang.String lineSeparatorStr
           
static java.lang.String URI_SEPARATION_CHAR
           
 
Constructor Summary
StringUtils()
           
 
Method Summary
static java.lang.String classNameToVarName(java.lang.String className)
           
static java.lang.String cleanString(java.lang.String str)
           
static java.lang.String getChars(int numberOfChars, char theChar)
          Get a string consisting of numberOfChars theChars.
static java.lang.String getClassName(java.lang.Class targetClass)
           
static java.lang.String getCommaListFromVector(java.util.Vector sourceVector)
           
static java.io.Reader getContentAsReader(java.net.URL url)
           
static java.lang.String getContentAsString(java.net.URL url)
           
static java.lang.String getSafeString(java.lang.String scriptStr)
           
static java.net.URL getURL(java.net.URL contextURL, java.lang.String spec)
           
static java.lang.String getValidIdentifierName(java.lang.String identifierName)
           
static boolean isValidIdentifierName(java.lang.String identifierName)
           
static boolean isValidPackageName(java.lang.String packageName)
           
static java.lang.String parseFullTargetObjectURI(java.lang.String fullTargetObjectURI)
          This method will perform the splicing of a full URI.
 
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

URI_SEPARATION_CHAR

public static java.lang.String URI_SEPARATION_CHAR
Constructor Detail

StringUtils

public StringUtils()
Method Detail

getSafeString

public static java.lang.String getSafeString(java.lang.String scriptStr)

cleanString

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

getClassName

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

getCommaListFromVector

public static java.lang.String getCommaListFromVector(java.util.Vector sourceVector)

getChars

public static java.lang.String getChars(int numberOfChars,
                                        char theChar)
Get a string consisting of numberOfChars theChars.
Returns:
a string consisting of numberOfChars theChars.

isValidIdentifierName

public static boolean isValidIdentifierName(java.lang.String identifierName)

isValidPackageName

public static boolean isValidPackageName(java.lang.String packageName)

classNameToVarName

public static java.lang.String classNameToVarName(java.lang.String className)

getValidIdentifierName

public static java.lang.String getValidIdentifierName(java.lang.String identifierName)

getURL

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

getContentAsReader

public static java.io.Reader getContentAsReader(java.net.URL url)
                                         throws java.lang.SecurityException,
                                                java.lang.IllegalArgumentException,
                                                java.io.IOException

getContentAsString

public static java.lang.String getContentAsString(java.net.URL url)
                                           throws java.lang.SecurityException,
                                                  java.lang.IllegalArgumentException,
                                                  java.io.IOException

parseFullTargetObjectURI

public static java.lang.String parseFullTargetObjectURI(java.lang.String fullTargetObjectURI)
This method will perform the splicing of a full URI. It is currently the only place where the delimiting character in the URI that triggers the splicing operation is specified. (This character should later be specified as a constant... Creation date: (10/23/00 2:54:33 PM)
Parameters:
fullTargetObjectURI - java.lang.String
Returns:
java.lang.String


Copyright © 2001 Oracle SOAP. All Rights Reserved.