Save This Page
Home » bsf-src-2.4.0 » org.apache.bsf.util » [javadoc | source]
org.apache.bsf.util
public class: StringUtils [javadoc | source]
java.lang.Object
   org.apache.bsf.util.StringUtils
Deals with strings (probably need to elaborate some more).
Field Summary
public static final  String lineSeparator     
public static final  String lineSeparatorStr     
Method from org.apache.bsf.util.StringUtils Summary:
classNameToVarName,   cleanString,   getChars,   getClassName,   getCommaListFromVector,   getContentAsReader,   getContentAsString,   getSafeString,   getURL,   getValidIdentifierName,   isValidIdentifierName,   isValidPackageName
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.bsf.util.StringUtils Detail:
 public static String classNameToVarName(String className) 
 public static String cleanString(String str) 
 public static String getChars(int numberOfChars,
    char theChar) 
    Get a string consisting of numberOfChars theChars.
 public static String getClassName(Class targetClass) 
 public static String getCommaListFromVector(Vector sourceVector) 
 public static Reader getContentAsReader(URL url) throws IllegalArgumentException, IOException, SecurityException 
 public static String getContentAsString(URL url) throws IllegalArgumentException, IOException, SecurityException 
 public static String getSafeString(String scriptStr) 
 public static URL getURL(URL contextURL,
    String spec) throws MalformedURLException 
 public static String getValidIdentifierName(String identifierName) 
 public static boolean isValidIdentifierName(String identifierName) 
 public static boolean isValidPackageName(String packageName)