JTar is a simple Java Tar library, that provides an easy way to create and read tar files using IO streams. The API is very simple to use and similar to the java.util.zip package.
I noticed several issues related to TAR format support.
What is the current state?
I tried GNU and USTAR, and for both files I get incorrect file names.
For GNU I was getting only first 4 letters of the file name bundled in TAR
For USTAR I get a file name without extention, like 'myname.', with a dot at the end.
I though USTAR is supported?
To answer my questions.
Out of GNU, OLDGNU, POSIX, USTAR, V7 only POSIX isn't supported by the library - first tar entry has some additional data that isn't properly processed.
I noticed several issues related to TAR format support. What is the current state? I tried GNU and USTAR, and for both files I get incorrect file names. For GNU I was getting only first 4 letters of the file name bundled in TAR For USTAR I get a file name without extention, like 'myname.', with a dot at the end. I though USTAR is supported?