Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to open .tar file in Java.

Posted on 2004-10-08
14
Medium Priority
?
569 Views
Last Modified: 2008-02-01

 Hi friends, i have to open ".tar" file  in java.  but i dont know how. so can you please give any idea about  opening ".tar" file in java....

 thank you friends.
0
Comment
Question by:ilaiyaraja
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 2
14 Comments
 
LVL 12

Accepted Solution

by:
Giant2 earned 2000 total points
ID: 12257281
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12257289
the guideline are like GZIP. Here is an example:
http://www.javaalmanac.com/egs/java.util.zip/UncompressFile.html?l=rel
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12257293
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 3

Expert Comment

by:RuadRauFlessa
ID: 12257354
Isn't it possible to open a tar file with a zip utility?
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12257377
>Isn't it possible to open a tar file with a zip utility?
No. Tar is different from zip.
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12257406
RuadRauFlessa,
See here for the definition of what is TAR file
http://www.fact-index.com/t/ta/tar_file_format.html
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12257444
ilaiyaraja,
do you need more help about jakarta compress?
Surfing on
http://jakarta.apache.org/commons/sandbox/compress/
you can find even example. You can find it is similar to the Zip/Jar in JDK (the example I post before).
Instead of, for example:
ZipEntry
you must use:
TarEntry
...
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12257477
the classes are in the file ant.jar of the common lib

Do you need other input?
0
 

Author Comment

by:ilaiyaraja
ID: 12257558
Hello Friends ,
 Thanks for your great response. i got the exact answer. Thanks for you all..
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12257595
>i got the exact answer
So you can close this thread.
0
 
LVL 3

Expert Comment

by:RuadRauFlessa
ID: 12257659
Thanks for that Giant2
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12259239
ilaiyaraja,
Do you solved?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn different types of Android Layout and some basics of an Android App.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question