0

I have a tar archive. I'd like to unpack it and turn it into a set of files.

I don't want to roll my own solution.

I would like to avoid adding another library to my program (apache commons compress).

Is there any pre-made method for doing this using the basic java API?

(Bold added above because people are suggesting that my question is a duplicate of this question: How do I extract a tar file in Java?, but all of the answers there suggest 3rd party libraries. The answer to this question is either: Yes, here is the link to the java/oracle API, or No, this is not a part of the standard java library.)

Community
  • 1
  • 1
Grumblesaurus
  • 3,021
  • 3
  • 31
  • 61

1 Answers1

0

I was not able to find any support for unpacking tars in the standard library. I don't believe that functionality exists as of Java 8.

Grumblesaurus
  • 3,021
  • 3
  • 31
  • 61