???????? Shar Archives
Contents
[
Hide
Show
]?????
shar ???????? ?????????????? ????????? ???????? Unix. ???? ?????? ? ???????? ???????. ??? ?? ?????, ?? ?????? ????????? ????? ????? ? Aspose.zip ??? ??, ??? ? ?????? ??????.
1?????????? (Shararchive Archive = new Shararchive ()) {
2 archive.createEntry ("alice.txt", new FileInputStream ("alice.txt"));
3 archive.createEntry ("data.bin", new FileInputStream ("block.raw"));
4 archive.save ("result.shar");
5} catch (ioException ex) {
6}