Example usage for org.apache.commons.compress.archivers.cpio CpioArchiveEntry getChksum

List of usage examples for org.apache.commons.compress.archivers.cpio CpioArchiveEntry getChksum

Introduction

In this page you can find the example usage for org.apache.commons.compress.archivers.cpio CpioArchiveEntry getChksum.

Prototype

public long getChksum() 

Source Link

Document

Get the checksum.

Usage

From source file:org.eclipse.packagedrone.utils.rpm.app.Dumper.java

private static void dumpEntry(final CpioArchiveEntry entry) {
    System.out.format("-----------------------------------%n");
    System.out.format(" %s%n", entry.getName());
    System.out.format(" Size: %s, Chksum: %016x, Align: %s, Inode: %016x, Mode: %08o, NoL: %s, Device: %s.%s%n",
            entry.getSize(), entry.getChksum(), entry.getAlignmentBoundary(), entry.getInode(), entry.getMode(),
            entry.getNumberOfLinks(), entry.getDeviceMaj(), entry.getDeviceMin());
}