Interface CpioConstants
- All Known Implementing Classes:
CpioArchiveEntry,CpioArchiveInputStream,CpioArchiveOutputStream
public interface CpioConstants
All constants needed by CPIO.
Based on code from the jRPM project.
A list of the C_xxx constants is here.
TODO Next major version: Update to a class.
-
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 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:
-