Learn how to get the compressed data in a byte array when using the GZIP file format.
Search Results for: zip
Reading a .gz File Line by Line Using GZIPInputStream
Sometimes, we need to read compressed .gz files in Java. Learn to use Java’s built in stream libraries to read from gzip format files.
Difference Between ZipFile and ZipInputStream in Java
Learn how to use ZipFile and ZipInputStream to read zip files, explore their functional differences, and evaluate their performance.
Using zipWhen() With Mono
Explore how to use zipWhen() to combine the results of two or more Mono streams in a coordinated manner.
How to Fix “Error in Opening Zip File” When Running Maven
Explore different ways to resolve the “Error in Opening Zip File” issue.
How to Read Zip Files Entries With Java
A quick and practical guide to reading zip files in Java.
How to Create Password-Protected Zip Files and Unzip Them in Java
A quick and practical guide to working with password-protected ZIP files in Java.
Zipping Collections in Java
See how to zip collections in Java using plain Java and external tools.
Spring Cloud – Tracing Services with Zipkin
Learn how traces from distributed services can be aggregated with the help of Zipkin.
Zipping and Unzipping in Java
Learn how to zip and unzip a file, multiple files or a full directory using core Java.
Introduction to Brave
Explore Brave, a popular distributed tracing instrumentation library in the Java ecosystem.
Intro to the Apache Commons Compress Project
In this tutorial, we explore Apache Commons Compress, a library for file compression, archiving, and extraction. It supports various formats like TAR, ZIP, GZIP, BZIP2, and more.
Instantiate an Inner Class With Reflection in Java
Explore how to instantiate static and non-static inner classes with the Java Reflection API.
Convert Null Value to a Default Value in Java
Learn how to convert null value to a default value in Java.
Compress and Uncompress Byte Array Using Deflater/Inflater
A quick and practical guide to compressing/uncompressing a byte array using the Deflater/Inflater classes.
Convert Byte Array to JSON and Vice Versa in Java
Learn how to quickly convert a byte array to JSON and vicе vеrsa in Java.
Asserting Nested Map With JUnit
Learn the different ways of asserting the presence of a nested map with JUnit.
Spring Boot 3.1’s ConnectionDetails Abstraction
Learn about the ConnectionDetails interface in Spring Boot 3.1.
Configuring the GlassFish Server in Eclipse
Learn step-by-step how to setup a GlassFish server within the Eclipse IDE.
Code Snippets in Java API Documentation
Explore how to add code snippets into documentation using the @snippet tag.