|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.strutsme.common.serialization.SerializeTools
public final class SerializeTools
SerializeTools contains from tool string methods which are used by the Serializer class.
| Method Summary | |
|---|---|
static java.lang.String |
convertDateToStringFormatted(java.util.Date o)
Convert a Date to a string by using its structured values (year, month, day, hour, minute, second and millisecond) represention. |
static java.lang.String |
convertDateToStringUnformatted(java.util.Date o)
Convert a Date to a string by using its ms-as-long represention. |
static java.util.Date |
convertStringToDateFormatted(java.lang.String stringValue)
Convert a String into a Date. |
static java.util.Date |
convertStringToDateUnformatted(java.lang.String stringValue)
Convert a String into a Date. |
static java.util.Vector |
explode(java.lang.String string,
char seperator)
Splits the string at the given seperator into multiple strings and returns these as a Vector. explode will not split if the seperator is prefixed by the escape char. |
static java.lang.String |
implode(java.lang.String[] strs,
char seperator)
Joins the given strings and the seperator into a single string. implode will wrap the input strings: occourances of the seperator are replaced by escape char plus the seperator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Vector explode(java.lang.String string,
char seperator)
string - the source string to splitseperator - the special character which is used as seperator
public static java.lang.String implode(java.lang.String[] strs,
char seperator)
strs - the source stringsseperator - the special character which is used as seperator
public static java.lang.String convertDateToStringUnformatted(java.util.Date o)
o - the date
public static java.util.Date convertStringToDateUnformatted(java.lang.String stringValue)
stringValue - the string
public static java.lang.String convertDateToStringFormatted(java.util.Date o)
o - the date
public static java.util.Date convertStringToDateFormatted(java.lang.String stringValue)
stringValue - the string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||