java.lang.Object
dods.util.Util
- public final class Util
- extends java.lang.Object
|
Constructor Summary |
protected |
Util()
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
protected Util()
- Constructor. Don't want anyone to invoke one of these.
replace
public static java.lang.String replace(java.lang.String main_value,
java.lang.String search_value,
java.lang.String sub_value)
- This method replaces all instances of one string to
another string within the main string. For example,
if the main string is "Foo bar baz", and the string
to replace is "ba" with "cu", then the returned
result will be "Foo cur cuz".
stringToDate
public static java.util.Date stringToDate(java.lang.String datestr)
- This method attempts to convert the string passed into
a date.