aspose file tools*
The moose likes Beginning Java and the fly likes String Compression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "String Compression" Watch "String Compression" New topic
Author

String Compression

Noam Hayafe
Greenhorn

Joined: Mar 13, 2002
Posts: 1
I need to compress a string into a ZIP archive, and then send this string to a remote location( either through socket or to a browser window). I built a function that recieves a String, and using the Defalte function in util.zip. When I use the ".setInput(byte[])", i get a StackOverflow...(blablabla). in the java.sun site, its a known bug. can you help me find a different way to compress a String into a Zip archive?
Thanks in advance,
Noam.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Are you Noam Chomsky?
My money is on Dave Vick. Cindy is my second guess.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Dirk wins!!!
Noam
Welcome to the Java Ranch, we hope you’ll enjoy visiting as a regular however,
your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy.
Thanks again and we hope to see you around the ranch!!


Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: String Compression