kamranzafar/jtar — pull request #5 by cavorite (2012-10-15 23:00:15+00:00)
Title: Create TarEntry objects without requiring Files objects

Hello,

I added a couple of methods for creating TarEntry objects that do not correspond to a file in the file system. I did it since I wanted to create entries for objects that were generated by my program (and I did not want to write temporary files for them).

I added two static methods to TarHeader to create headers for files and directories and I added another constructor to TarEntry, so that they can be used. I also included a simple test case.

Thanks for creating jtar and please let me know if you have any comments.