Nippyfile J Page

The latest version is always visible on Maven Central badge above.

| Category | Feature | Short Description | |----------|---------|-------------------| | | readAllBytes() , writeAllBytes() | One‑liner read/write of whole files. | | | readLines() , writeLines() | Stream‑friendly line handling (UTF‑8, custom charset). | | | copyTo(Path target) , moveTo(Path target) | Atomic copy/move with optional overwrite modes. | | | transferTo(OutputStream) | Zero‑copy transfer for large binary blobs. | | Streaming | asInputStream() , asOutputStream() | Lazy, buffered streams that auto‑close. | | | asReader(Charset) , asWriter(Charset) | Character‑stream support. | | Compression | zipTo(Path zipFile) , unzipTo(Path dir) | One‑line ZIP creation/extraction (supports password‑less ZIP only). | | Temp Files | asTempFile(prefix, suffix) | Auto‑deleted temporary file with try‑with‑resources. | | Safety | readOnly() , writeOnly() | Explicitly restrict access mode. | | Async | readAllBytesAsync() , writeAllBytesAsync() | CompletableFuture‑based non‑blocking IO (Java 8+). | | Metrics | size() , lastModified() , isHidden() | Quick meta‑data access. | | Validation | exists() , ensureParentExists() | Guard clauses that throw NippyFileException . | | Extensibility | registerCustomCodec(Codec) | Plug in your own compression or serialization format. | nippyfile j

All tests were run on an , JDK 21, Ubuntu 22.04, SSD storage. Numbers are median of 10 runs , each reading/writing a 50 MB random‑data file. The latest version is always visible on Maven