Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

TAR via java

Hi All,

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.

ex.

<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.

Thanks,

Shabarish

Not what you were looking for? View more on this topic or Ask a question