Class CompressionAndIOExample
java.lang.Object
de.pauleff.examples.CompressionAndIOExample
Demonstrates compression handling and advanced I/O operations.
Key concepts:
- Compression formats: GZIP, ZLIB, NONE
- Automatic compression detection
- Manual resource management with try-with-resources
- File validation and error handling
Most operations use NBTFileFactory convenience methods.
Use manual readers/writers for custom error handling.
- Author:
- Paul Ferlitz
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CompressionAndIOExample
public CompressionAndIOExample()
-
-
Method Details
-
main
- Throws:
IOException
-