This article mainly describes the use of Java-related classes can be implemented to the file or folder compression.
Zlib is a data compression library that is designed to handle simple data (regardless of the source of the data).
7z is a new
Er, I have reviewed my previous articles today. The highest attention rate is the "self-painted radiobutton". Many people have sent messages to send source code, which is also lazy, now the source code connection has been added to the end of the
The three concepts zlib, Gzip, and zip are indeed confusing:
1. Gzip
Gzip is a data format in UNIX.
Gzip is built on zlib and includes a layer. Some additional information is added at the header and end.
Gzip-tar.gz.
Gzip is a File compression
Zlib is a data compression library that is designed to handle simple data (regardless of the source of the data).
Gzip is a file compression tool (or the compressed file format produced by the compression tool) that is designed to work with
Scene:1. Unzip the file is usually used after downloading a zip file after decompression, or analysis of a file need to unzip the operation.2. Unzip the file, especially the zip file with folder, often the system does not provide such Win32 API, of
A typical application, using Delphi as the client, Java service side, between the two with XML as data exchange, in order to improve efficiency, the XML data compression, to find a compression/decompression algorithm to two platform interaction
JAVA Implementation
In JDK, zlib implementation has been built in the java.util.zip package. For example:CodeAs follows:
1 // Extract2 Public String decompressdata (string encdata ){3 try {4 bytearrayoutputstream Bos = new bytearrayoutputstream ()
1. Yum Install Readline-devel2. Yum Install Libxt-devel3. Tar zxvf r-3.3.1.tar.gzCD R-3.3.1./configure--prefix=/opt/r-3.3.1--enable-r-shlibError:Checking for zlib.h ... yesChecking if zlib version >= 1.2.5 ... NoChecking whether zlib support
Document directory
Low Level
High-Level
Unknown
Mathematics
Physics
Collision Detection:
Http://abattoir.wolfpaw.net/personal/gamelibs.php on the face of a variety of Library Classification, the content is as followsFree game development
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.