|
|||||||||
| Home >> All >> org >> pptp_gui >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.pptp_gui.util
Class StringUtil

java.lang.Objectorg.pptp_gui.util.StringUtil
- public abstract class StringUtil
- extends java.lang.Object
The class will modify, extract, or determine information from an existing string.
- Version:
- 0.04
| Constructor Summary | |
StringUtil()
Creates a new instance of StringUtil |
|
| Method Summary | |
static java.lang.String |
getPattern(java.lang.String str,
java.lang.String re)
Retrieve a portion of a string based on a regular expression pattern |
static java.lang.String |
modifyString(java.lang.String str,
java.lang.String replaceable,
java.lang.String replacement)
Replace every instance of a string pattern within a string with another string. |
static boolean |
stringGrep(java.lang.String str,
java.lang.String pattern)
Perform a simple grep type of operation on a string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
StringUtil
public StringUtil()
- Creates a new instance of StringUtil
| Method Detail |
modifyString
public static java.lang.String modifyString(java.lang.String str, java.lang.String replaceable, java.lang.String replacement)
- Replace every instance of a string pattern within a string with another string.
stringGrep
public static boolean stringGrep(java.lang.String str, java.lang.String pattern)
- Perform a simple grep type of operation on a string
getPattern
public static java.lang.String getPattern(java.lang.String str, java.lang.String re)
- Retrieve a portion of a string based on a regular expression pattern
|
|||||||||
| Home >> All >> org >> pptp_gui >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.pptp_gui.util.StringUtil