Pregunta

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!

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top