Compress4J reads, but cannot write, some formats. Archives have an extractor only; codecs have a Compression value that Decompressor and the tar extractor read and Compressor rejects.
Convention
-
An archive has no creator class; a codec’s
Compression.canWrite()returnsfalse. -
The format’s page opens with the note
Read-only: Compress4J can extract this format but cannot create it. -
Format lists mark the format with
(read-only). -
Extractors enforce the same guards as every other archive extractor: path traversal, escaping symlink policy, and entry and size limits.
Read-only formats
| Format | How to read it |
|---|---|
ARJ |
|
UNIX dump |
|
Deflate64 |
|
Brotli |
|
Unix compress ( |
|
The codec table marks every read-only codec.