| Author |
Help with parse string into object
|
jay lai
Ranch Hand
Joined: Apr 04, 2002
Posts: 180
|
|
I have an POJO call myObject.java have the 4 attributes(id, pos1, pos2, pos3) with getter/setter. I have a method need to return ArrayList<MyObject> taking the String and parse out into the object. The string is concatinate of the number of records, and now they want to split into the field like in the table with columns Please help or hint thanks, Greately appreciated
|
 |
marc weber
Sheriff
Joined: Aug 31, 2004
Posts: 11343
|
|
|
What is the logic for splitting the String? For example, will it always be 3 chars, followed by 4 chars, followed by 3 chars, followed by 3 chars?
|
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
|
 |
 |
|
|
subject: Help with parse string into object
|
|
|