A Chinese compression and decompression method and device based on java language
A JAVA language and decompression technology, applied in the field of data processing, can solve problems such as not supporting Chinese directory or file name compression and decompression
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment
[0089] In this specific embodiment, the example of compression and decompression supporting Chinese function calls consists of three classes, ZipUnZipFileByJava is the main class, and CnZipInputStream and CnZipOutputStream are the called classes. The CnZipInputStream class is used to realize the Chinese culture of the compressed file input, and the CnZipOutputStream class is used to realize the Chinese culture of the decompressed file output stream.
[0090] The procedure for this specific example is:
[0091] 1. Declare the main class ZipUnZipFileByJava that supports Chinese functions for compression and decompression;
[0092] 2. Declare all files under the specified compressed directory f: / 118 / auto to the specified compressed file f: / 111 / auto.zip, specify GBK encoding, and realize the GBK Chinese encoding of the file name and file content in the specified compressed directory;
[0093] 3. Declare to decompress the f: / 111 / auto.zip file to the specified directory f: / 118 / auto...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


