Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

compressing file formats in java

Thread view: 
onetitfemme - 20 Oct 2005 01:11 GMT
Hi *,

java basically supports the compressing zip file format (jar files are
just zipped ones with "META-INF")

Do you know of any way to handle, say, gzipped, stuffit and/or RAR
within java without going native?

Well, I am just asking.

lbrtchx
Roedy Green - 20 Oct 2005 01:20 GMT
> Do you know of any way to handle, say, gzipped, stuffit and/or RAR
>within java without going native?

there is aGZipInputStream class. That hints it might handle gzip
files.
see http://mindprod.com/jgloss/zip.html

For other options see that same link.  I think pretty well all the
compression libraries are written for C++. You will need to write some
JNI glue.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Stefan Schulz - 20 Oct 2005 12:45 GMT
> For other options see that same link.  I think pretty well all the
> compression libraries are written for C++. You will need to write some
> JNI glue.

If you feel real charitable, you might implement the compression
algorithms in pure java.

If you feel lazy, you might ask the search engine of your choice of
someone already did that.

Signature

You can't run away forever,
But there's nothing wrong with getting a good head start.
          --- Jim Steinman, "Rock and Roll Dreams Come Through"
         

Thomas Fritsch - 20 Oct 2005 01:26 GMT
> java basically supports the compressing zip file format (jar files are
> just zipped ones with "META-INF")
>
> Do you know of any way to handle, say, gzipped, stuffit and/or RAR
> within java without going native?

Yes, look at
http://java.sun.com/j2se/1.5.0/docs/api/java/util/zip/package-summary.html

Signature

"TFritsch$t-online:de".replace(':','.').replace('$','@')



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.