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

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

Introduction

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

Prototype

public long getDeviceMaj() 

Source Link

Document

Get the major device id.

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());
}