공유 아카이브 작성

Contents
[ Hide Show ]

개요

_shar_는 유효한 UNIX 쉘 스크립트입니다. 이 형식은 대부분 구식입니다. 그러나 다른 아카이브와 유사하게 zip과 함께 이러한 아카이브를 구성 할 수 있습니다.

1try (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}
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.