Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Converting java.util.Arrays.toString() output back to an array

807591Apr 24 2008 — edited Apr 24 2008
Hello,

I find the toString() methods of the java.util.Arrays class very convenient to transform arrays to a string and save them in a file. However, I can't find a method to convert the string back to an array. Is there really no such method (why not?) or am I just not looking at the right place?

Cap
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2008
Added on Apr 24 2008
3 comments
520 views