java - Map bean fields to CSV in the order they appear in the class -
i map every field in given bean csv in same order declared in class definition.
the thing have considered far using .class.getdeclaredfields() because returns them in right order, , mapping them using opencsv.
is there quicker way this?
java
No comments:
Post a Comment