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

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

Introduction

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

Prototype

public long getMode() 

Source Link

Document

Get the mode of this entry (e.g.

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