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 intThe default block size.static final intPermits a file's group to read the filestatic final intPermits others to read the filestatic final intPermits the owner of a file to read the filestatic final intDefines a block devicestatic final intDefines a character devicestatic final intDefines a directorystatic final intDefines a pipestatic final intSets group IDstatic final intDefines a symbolic linkstatic final intHP/UX network special (C_ISCTG)static final intDefines a regular filestatic final intDefines a socketstatic final intSets user IDstatic final intOn directories, restricted deletion flag.static final intPermits a file's group to write to the filestatic final intPermits others to write to the filestatic final intPermits the owner of a file to write to the filestatic final intPermits a file's group to execute the file or to search the directorystatic final intPermits others to execute the file or to search the directorystatic final intPermits the owner of a file to execute the file or to search the directorystatic final StringThe special trailer markerstatic final shortWrite/read a CpioArchiveEntry in the new format.static final shortWrite/read a CpioArchiveEntry in the new format with crc.static final shortMask for both new formats.static final shortWrite/read a CpioArchiveEntry in the old ascii format.static final shortWrite/read a CpioArchiveEntry in the old binary format.static final shortMask for both old formats.static final StringMagic number of a cpio entry in the new formatstatic final StringMagic number of a cpio entry in the new format with crcstatic final StringMagic number of a cpio entry in the old ascii formatstatic final intMagic number of a cpio entry in the old binary formatstatic final intMask for all file type bits.
-
Field Details
-
MAGIC_NEW
-
MAGIC_NEW_CRC
-
MAGIC_OLD_ASCII
-
MAGIC_OLD_BINARY
-
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
-
C_ISSOCK
-
C_ISLNK
-
C_ISNWK
-
C_ISREG
-
C_ISBLK
-
C_ISDIR
-
C_ISCHR
-
C_ISFIFO
-
C_ISUID
-
C_ISGID
-
C_ISVTX
-
C_IRUSR
-
C_IWUSR
-
C_IXUSR
Permits the owner of a file to execute the file or to search the directory- See Also:
-
C_IRGRP
-
C_IWGRP
-
C_IXGRP
Permits a file's group to execute the file or to search the directory- See Also:
-
C_IROTH
-
C_IWOTH
-
C_IXOTH
-
CPIO_TRAILER
-
BLOCK_SIZE
-