|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.aspects.persistence.ValueConverter
General converter for all Objects.
It converts Objects into Strings to store them for persistence, and converts stored Strings into their original form for new use.
Constructor Summary | |
ValueConverter()
|
Method Summary | |
static String |
objectToString(Object obj)
Returns a string representation of a field so that it can be stored. |
static Object |
stringToObject(String str)
Returns an object from a string, depending on the needed type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValueConverter()
Method Detail |
public static String objectToString(Object obj)
obj
- a persistent or primitive object
public static Object stringToObject(String str)
str
- the type and value in a string format (type:value)
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |