Possible Duplicate:
java: get all variable names in a class
How can I read out all fields and their content of an Object o
by using the reflection api.
I would begin with o.getClass().getDeclaredFields()
but don't know how to continue.
Anyone got an idea ?