문제

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