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
Modifier 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
Sets 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
Sets 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
Magic number of a cpio entry in the old binary format- See Also:
-
FORMAT_NEW
Write/read a CpioArchiveEntry in the new format. FORMAT_ constants are internal.- See Also:
-
FORMAT_NEW_CRC
Write/read a CpioArchiveEntry in the new format with crc. FORMAT_ constants are internal.- See Also:
-
FORMAT_OLD_ASCII
Write/read a CpioArchiveEntry in the old ascii format. FORMAT_ constants are internal.- See Also:
-
FORMAT_OLD_BINARY
Write/read a CpioArchiveEntry in the old binary format. FORMAT_ constants are internal.- See Also:
-
FORMAT_NEW_MASK
Mask for both new formats. FORMAT_ constants are internal.- See Also:
-
FORMAT_OLD_MASK
Mask for both old formats. FORMAT_ constants are internal.- See Also:
-
S_IFMT
Mask for all file type bits.- See Also:
-
C_ISSOCK
Defines a socket- See Also:
-
C_ISLNK
Defines a symbolic link- See Also:
-
C_ISNWK
HP/UX network special (C_ISCTG)- See Also:
-
C_ISREG
Defines a regular file- See Also:
-
C_ISBLK
Defines a block device- See Also:
-
C_ISDIR
Defines a directory- See Also:
-
C_ISCHR
Defines a character device- See Also:
-
C_ISFIFO
Defines a pipe- See Also:
-
C_ISUID
Sets user ID- See Also:
-
C_ISGID
Sets group ID- See Also:
-
C_ISVTX
On directories, restricted deletion flag.- See Also:
-
C_IRUSR
Permits the owner of a file to read the file- See Also:
-
C_IWUSR
Permits the owner of a file to write to the file- See Also:
-
C_IXUSR
Permits the owner of a file to execute the file or to search the directory- See Also:
-
C_IRGRP
Permits a file's group to read the file- See Also:
-
C_IWGRP
Permits a file's group to write to the file- See Also:
-
C_IXGRP
Permits a file's group to execute the file or to search the directory- See Also:
-
C_IROTH
Permits others to read the file- See Also:
-
C_IWOTH
Permits others to write to the file- See Also:
-
C_IXOTH
Permits others to execute the file or to search the directory- See Also:
-
CPIO_TRAILER
The special trailer marker- See Also:
-
BLOCK_SIZE
The default block size.- Since:
- 1.1
- See Also:
-