Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 519 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 519 Bytes

WACZ Java library

This java library is used to validate WACZ archives and read their metadata.

Usage

WaczArchive waczArchive = new WaczArchive("archive.wacz");
try {
    waczArchive.validate();
    System.out.println("Wacz archive is valid");
} catch (InvalidWaczException e) {
    System.out.println("Wacz archive is invalid");
    System.out.println("Reason: " + e.getMessage());
}

Map<String, Boolean> checksums = waczArchive.verifyChecksums();
WaczMetadata metadata = waczArchive.getMetadata();