TAR via java
I have a requirement to create an EJB module to TAR a given inputstream.
I have the payload(s) and the file names(s) that needs to be added.
<payload> xxxxx </payload> <filename> xxxx.txt </filename> <payload> yyyy </payload> <filename> yyyy.txt </filename>
the following is what i need help on,
1. Does java has libraries to generate tar files?
2. Can multiple files be added to same tar?
Appreciate any help on this regard.