|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanecho.gui.TextUtils
public class TextUtils
This class contains methods to do some common string requirements such as stripping escape characters.
| Method Summary | |
|---|---|
static java.lang.String |
cleanURL(java.lang.String input)
This method is used to remove extra characters from a URL. |
static double |
stringToDouble(java.lang.String input)
This method converts the numeric portion of a String to an Int. |
static java.lang.String |
stripEscapes(java.lang.String token,
boolean useBell)
This method returns the value of a string once it has had any escape characters stripped from it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String stripEscapes(java.lang.String token,
boolean useBell)
token - The string that will be analysed for escape characters.useBell - true - trigger system "bell" if a bell sequence is stripped.
false - do not trigger the system "bell" if a bell sequence is stripped.
public static java.lang.String cleanURL(java.lang.String input)
input -
public static double stringToDouble(java.lang.String input)
input - A mix string of numbers and characters
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||