All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gnu.jel.StringLib

java.lang.Object
   |
   +----gnu.jel.StringLib

public class StringLib
extends Object
String manipulation library for JEL.

This class merely provides static wrappers for methods of java.lang.String class. Use this as a static library to get string manipulation functions within JEL compiled expressions. see java.lang.String for descriptions of corresponding methods.

See Also:
String

Constructor Index

 o StringLib()

Method Index

 o charAt(String, int)
 o compareTo(String, String)
 o concat(String, String)
 o endsWith(String, String)
 o equals(String, Object)
 o indexOf(String, int)
 o indexOf(String, int, int)
 o indexOf(String, String)
 o indexOf(String, String, int)
 o intern(String)
 o lastIndexOf(String, int)
 o lastIndexOf(String, int, int)
 o lastIndexOf(String, String)
 o lastIndexOf(String, String, int)
 o length(String)
 o regionMatches(boolean, String, int, String, int, int)
 o regionMatches(String, int, String, int, int)
 o replace(String, char, char)
 o startsWith(String, String)
 o startsWith(String, String, int)
 o substring(String, int)
 o substring(String, int, int)
 o toLowerCase(String)
 o toUpperCase(String)
 o trim(String)
 o valueOf(boolean)
 o valueOf(char)
 o valueOf(double)
 o valueOf(float)
 o valueOf(int)
 o valueOf(long)
 o valueOf(Object)

Constructors

 o StringLib
 public StringLib()

Methods

 o length
 public static int length(String arg)
 o charAt
 public static char charAt(String arg,
                           int index)
 o equals
 public static boolean equals(String arg,
                              Object anObject)
 o compareTo
 public static int compareTo(String arg,
                             String anotherString)
 o regionMatches
 public static boolean regionMatches(String one,
                                     int toffset,
                                     String other,
                                     int ooffset,
                                     int len)
 o regionMatches
 public static boolean regionMatches(boolean ignorecase,
                                     String one,
                                     int toffset,
                                     String other,
                                     int ooffset,
                                     int len)
 o startsWith
 public static boolean startsWith(String arg,
                                  String prefix,
                                  int toffset)
 o startsWith
 public static boolean startsWith(String arg,
                                  String prefix)
 o endsWith
 public static boolean endsWith(String arg,
                                String suffix)
 o indexOf
 public static int indexOf(String arg,
                           int ch)
 o indexOf
 public static int indexOf(String arg,
                           int ch,
                           int fromIndex)
 o lastIndexOf
 public static int lastIndexOf(String arg,
                               int ch)
 o lastIndexOf
 public static int lastIndexOf(String arg,
                               int ch,
                               int fromIndex)
 o indexOf
 public static int indexOf(String arg,
                           String other)
 o indexOf
 public static int indexOf(String arg,
                           String other,
                           int fromIndex)
 o lastIndexOf
 public static int lastIndexOf(String arg,
                               String other)
 o lastIndexOf
 public static int lastIndexOf(String arg,
                               String other,
                               int fromIndex)
 o substring
 public static String substring(String arg,
                                int beginIndex)
 o substring
 public static String substring(String arg,
                                int beginIndex,
                                int endIndex)
 o concat
 public static String concat(String arg,
                             String str)
 o replace
 public static String replace(String arg,
                              char oldChar,
                              char newChar)
 o toLowerCase
 public static String toLowerCase(String arg)
 o toUpperCase
 public static String toUpperCase(String arg)
 o trim
 public static String trim(String arg)
 o intern
 public static String intern(String arg)
 o valueOf
 public static String valueOf(Object obj)
 o valueOf
 public static String valueOf(boolean b)
 o valueOf
 public static String valueOf(char c)
 o valueOf
 public static String valueOf(int i)
 o valueOf
 public static String valueOf(long l)
 o valueOf
 public static String valueOf(float f)
 o valueOf
 public static String valueOf(double d)

All Packages  Class Hierarchy  This Package  Previous  Next  Index