Comments on: Using TarInputStream from Java https://grey-panther.net/2009/10/using-tarinputstream-from-java.html Just another WordPress site Thu, 23 Sep 2010 09:00:23 +0000 hourly 1 https://wordpress.org/?v=6.9 By: Cd-MaN https://grey-panther.net/2009/10/using-tarinputstream-from-java.html#comment-107 Thu, 23 Sep 2010 09:00:23 +0000 https://grey-panther.net/?p=193#comment-107 @Anonymous: .tar.gz files are exactly that: a tar file compressed with gz. To read them you only need to chain the appropriate streams, ie:

InputStream is = new TarInputStream(new GZIPInputStream(new FileInputStream("test.tar.gz")));

]]>
By: Anonymous https://grey-panther.net/2009/10/using-tarinputstream-from-java.html#comment-118 Thu, 23 Sep 2010 08:53:59 +0000 https://grey-panther.net/?p=193#comment-118 Hello, what about tar.gz files? do you know how descompress them?

regards.
[email protected]

]]>