?????? ? ???????? LZIP

?????

????? LZIP ????????? ? Linux. ??? ???????????? ???????? LZMA. Aspose.zip ??? Java API ???????? ????????????? ?? ?????????? ?? ??????????? ???????? LZIP ? ????? ?????? ??? ???????????? ???? -???? ????? ????????? ??????.�Aspose.zip API ????? lziparchive ????? ??? ?????? ? ?????? ????????. ??? ???? ????? ??????? ?????? ????????? ???????? ?? ???????.

???????? ????

????????? ??????? ???? ???????, ?? ???????? ???? ?? ????????? ?????????? Lziparchive.

1????????? (Lziparchive Archive = ????? lziparchive ()) {
2    Archive.setsource ("data.bin");
3    Archive.save ("data.bin.lz");
4}

????? ?????? LZIP

????????? ??????? ??????? ???? ???????, ?? ???????? ????? LZIP.

1????????? (fileInputStream sourcelzipfile = ????? fileInputStream ("data.bin.lz")) {
2    ????????? (fileOutputStream extrastedFile = ????? FileOutputStream ("data.bin")) {
3        ????????? (Lziparchive Archive = ????? Lziparchive (Sourcelzipfile)) {
4            archive.extract (extrastedfile);
5        }
6    }
7} ???? (IOException ex) {
8}
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.