This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes how to tar files from within the java program? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to tar files from within the java program?" Watch "how to tar files from within the java program?" New topic
Author

how to tar files from within the java program?

Andrew Paul
Greenhorn

Joined: Jun 17, 2006
Posts: 5
Hello!

Within a complex process I have to tar a lot of files. Is there a possibility to do it? I have only found java.util.zip and java.util.jar but not .tar.

Or is the result of using java.util.jar the same as the tar-result?

Thank you for your tipps and hints?
Kind regards
Andrew Paul


Diplomacy is to say "Goood doggie" - until you find a stone.
Edwin Dalorzo
Ranch Hand

Joined: Dec 31, 2004
Posts: 961
Take a look at Java Tar Package

There is also an ant task that creates tar file, that, too, might help you.

Good luck!
Andrew Paul
Greenhorn

Joined: Jun 17, 2006
Posts: 5
Thanks a lot. Also for the "good luck". I'll try it!

Kind regards
Andrew Paul
 
 
subject: how to tar files from within the java program?
 
Similar Threads
Finding files in war file...??
Tar a folder excluding pdf's
Need help to save .tar files in data base
How to extract a tar file using java
java and tar