Commit Graph

14 Commits

Author SHA1 Message Date
Bram
7d9ab32e4d Expose bytesRead on TarInputStream by means of getCurrentOffset(). This
can be used to determine where in the tar file a specific entry is
located.
2014-01-23 17:14:03 +01:00
Bram
a3214bd9c4 Wrap the FileOutputStream in a BufferedOutputStream. 2014-01-23 12:25:04 +01:00
Bram
83b72b4269 Allow TarOutputStream to append to an existing tar file. This is
achieved by positioning the file pointer before the EOF-padding bytes
and overwriting them.

Additionally, the existing tests were broken and only executable on
kamranzafar's machine. The tests should now work on any machine.
2014-01-23 12:16:07 +01:00
Michael Barker (barkerm)
5fc8cdfeae Fix bug with reads of values > 127 2013-07-02 09:56:16 +12:00
kamran
0705ada9c6 updates 2012-11-06 19:05:07 +00:00
kamran
d8cf97b759 updates 2012-11-05 22:31:41 +00:00
kamran
13f1c4f0e0 updates 2012-11-05 22:07:10 +00:00
kamranzafar
682eb03b19 updated test case 2012-11-05 10:26:58 +00:00
kamranzafar
d8c5b6a9d2 added name prefix, updated tar header and entry 2012-11-02 17:19:12 +00:00
Juan Manuel Caicedo Carvajal
1d751b99b1 Added methods to create TarEntry objects without requiring a File object. 2012-10-15 18:53:35 -04:00
Kamran
ffb189d69a fixed issue #1 2012-07-28 17:06:41 +01:00
Kamran
ed6f444f2a updated comment 2012-07-16 22:06:19 +01:00
Kamran
5aa50a236d updates 2012-07-16 21:56:22 +01:00
Kamran
5a18d206f7 first v2.0 commit 2012-05-01 16:29:50 +01:00