File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to tar files from within the java program?
 
Similar Threads
Finding files in war file...??
Tar a folder excluding pdf's
How to extract a tar file using java
java and tar
Need help to save .tar files in data base