سؤال

I have a ".tar" file that my app downloads and I can't figure out how to extract it. I've tried reading it with ZipInputStream, but getNextEntry() returns null even though I can confirm through terminal that the tar file exists. I've been able to untar it manually so I know it's not an issue with the file.

Does anyone have any ideas? Thanks for the help!

هل كانت مفيدة؟

المحلول

As suggested above, JTAR ended up working for me: https://github.com/kamranzafar/jtar

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top