Interface CpioConstants
- All Known Implementing Classes:
CpioArchiveEntry
,CpioArchiveInputStream
,CpioArchiveOutputStream
public interface CpioConstants
All constants needed by CPIO.
based on code from the jRPM project (jrpm.sourceforge.net)
http://www.opengroup.org/onlinepubs/9699919799/basedefs/cpio.h.html has a list of the C_xxx constants.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The default block size.static final int
Permits a file's group to read the filestatic final int
Permits others to read the filestatic final int
Permits the owner of a file to read the filestatic final int
Defines a block devicestatic final int
Defines a character devicestatic final int
Defines a directorystatic final int
Defines a pipestatic final int
Set group IDstatic final int
Defines a symbolic linkstatic final int
HP/UX network special (C_ISCTG)static final int
Defines a regular filestatic final int
Defines a socketstatic final int
Set user IDstatic final int
On directories, restricted deletion flag.static final int
Permits a file's group to write to the filestatic final int
Permits others to write to the filestatic final int
Permits the owner of a file to write to the filestatic final int
Permits a file's group to execute the file or to search the directorystatic final int
Permits others to execute the file or to search the directorystatic final int
Permits the owner of a file to execute the file or to search the directorystatic final String
The special trailer markerstatic final short
write/read a CpioArchiveEntry in the new format.static final short
write/read a CpioArchiveEntry in the new format with crc.static final short
Mask for both new formats.static final short
write/read a CpioArchiveEntry in the old ascii format.static final short
write/read a CpioArchiveEntry in the old binary format.static final short
Mask for both old formats.static final String
magic number of a cpio entry in the new formatstatic final String
magic number of a cpio entry in the new format with crcstatic final String
magic number of a cpio entry in the old ascii formatstatic final int
magic number of a cpio entry in the old binary formatstatic final int
Mask for all file type bits.
-
Field Details
-
MAGIC_NEW
magic number of a cpio entry in the new format- See Also:
-
MAGIC_NEW_CRC
magic number of a cpio entry in the new format with crc- See Also:
-
MAGIC_OLD_ASCII
magic number of a cpio entry in the old ascii format- See Also:
-
MAGIC_OLD_BINARY
static final int MAGIC_OLD_BINARYmagic number of a cpio entry in the old binary format- See Also:
-
FORMAT_NEW
static final short FORMAT_NEWwrite/read a CpioArchiveEntry in the new format. FORMAT_ constants are internal.- See Also:
-
FORMAT_NEW_CRC
static final short FORMAT_NEW_CRCwrite/read a CpioArchiveEntry in the new format with crc. FORMAT_ constants are internal.- See Also:
-
FORMAT_OLD_ASCII
static final short FORMAT_OLD_ASCIIwrite/read a CpioArchiveEntry in the old ascii format. FORMAT_ constants are internal.- See Also:
-
FORMAT_OLD_BINARY
static final short FORMAT_OLD_BINARYwrite/read a CpioArchiveEntry in the old binary format. FORMAT_ constants are internal.- See Also:
-
FORMAT_NEW_MASK
static final short FORMAT_NEW_MASKMask for both new formats. FORMAT_ constants are internal.- See Also:
-
FORMAT_OLD_MASK
static final short FORMAT_OLD_MASKMask for both old formats. FORMAT_ constants are internal.- See Also:
-
S_IFMT
static final int S_IFMTMask for all file type bits.- See Also:
-
C_ISSOCK
static final int C_ISSOCKDefines a socket- See Also:
-
C_ISLNK
static final int C_ISLNKDefines a symbolic link- See Also:
-
C_ISNWK
static final int C_ISNWKHP/UX network special (C_ISCTG)- See Also:
-
C_ISREG
static final int C_ISREGDefines a regular file- See Also:
-
C_ISBLK
static final int C_ISBLKDefines a block device- See Also:
-
C_ISDIR
static final int C_ISDIRDefines a directory- See Also:
-
C_ISCHR
static final int C_ISCHRDefines a character device- See Also:
-
C_ISFIFO
static final int C_ISFIFODefines a pipe- See Also:
-
C_ISUID
static final int C_ISUIDSet user ID- See Also:
-
C_ISGID
static final int C_ISGIDSet group ID- See Also:
-
C_ISVTX
static final int C_ISVTXOn directories, restricted deletion flag.- See Also:
-
C_IRUSR
static final int C_IRUSRPermits the owner of a file to read the file- See Also:
-
C_IWUSR
static final int C_IWUSRPermits the owner of a file to write to the file- See Also:
-
C_IXUSR
static final int C_IXUSRPermits the owner of a file to execute the file or to search the directory- See Also:
-
C_IRGRP
static final int C_IRGRPPermits a file's group to read the file- See Also:
-
C_IWGRP
static final int C_IWGRPPermits a file's group to write to the file- See Also:
-
C_IXGRP
static final int C_IXGRPPermits a file's group to execute the file or to search the directory- See Also:
-
C_IROTH
static final int C_IROTHPermits others to read the file- See Also:
-
C_IWOTH
static final int C_IWOTHPermits others to write to the file- See Also:
-
C_IXOTH
static final int C_IXOTHPermits others to execute the file or to search the directory- See Also:
-
CPIO_TRAILER
The special trailer marker- See Also:
-
BLOCK_SIZE
static final int BLOCK_SIZEThe default block size.- Since:
- 1.1
- See Also:
-