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!

compressing and decompressing a string list

807606Jun 8 2007 — edited Jun 9 2007
Hi All,
i need a help:

i have an string list say,

String sample="test";
String sample1="test1";
String sample2="test3";

i want to compress this sample,sample1,sample2 and store that compressed results into another string variable.

Ex:
compressedSample=sample;
compressedSample1=sample1;
compressedSample2=sample2;

similarly how can i uncompress the compressedSample,compressedSample1,compressedSample2 variables.

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2007
Added on Jun 8 2007
17 comments
781 views