LZIP ????? ?????

Contents
[ Hide Show ]

??

LZIP ????? Linux?? ??????. LZMA ????? ?????. Java API ? zip? ???? ?? ? 3 ? ???????? ?? ?????? LZIP ????? ???? ???? ??? ?? ? ? ????.�aspose.zip api? lziparchive ???? ???? ??? ????? ?? ????. ? ???? ?????? ??? ???? ?? ??? ?????.

?? ??

?? ?? ??? lziparchive ????? ???? ??? ???? ??? ?????.

1try (lziparchive archive = new lziparchive ()) {
2    archive.setsource ( "data.bin");
3    archive.save ( "data.bin.lz");
4}

LZIP ???? ??

?? ??? ?? ??? LZIP ????? ?? ??? ?????.

1try (fileInputStream sourcelzipfile = new FileInputStream ( "data.bin.lz")) {
2    try (fileoutputStream extractedFile = ? FileOutputStream ( "data.bin")) {
3        try (lziparchive archive = new lziparchive (sourcelzipfile)) {
4            Archive.extract (ExtractedFile);
5        }
6    }
7} catch (ioException ex) {
8}
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.