シェルアーカイブの作成
Contents
[
Hide
Show
]概要
_shar_は有効なUNIXシェルスクリプトです。この形式はほとんど時代遅れです。ただし、他のアーカイブと同様に、そのようなアーカイブをAspose.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}