com.jguild.jrpm.io.cpio

Interface CPIOConstants

public interface CPIOConstants

All constants needed by CPIO.

Author: Michael Kuss

Field Summary
static intC_IRGRP
Permits a file's group to read the file
static intC_IROTH
Permits others to read the file
static intC_IRUSR
Permits the owner of a file to read the file
static intC_ISBLK
Defines a block device
static intC_ISCHR
Defines a character device
static intC_ISDIR
Defines a directory
static intC_ISFIFO
Defines a pipe
static intC_ISGID
TODO document
static intC_ISLNK
Defines a symbolic link
static intC_ISNWK
HP/UX network special (C_ISCTG)
static intC_ISREG
Defines a regular file
static intC_ISSOCK
Defines a socket
static intC_ISUID
TODO document
static intC_ISVTX
TODO document
static intC_IWGRP
Permits a file's group to write to the file
static intC_IWOTH
Permits others to write to the file
static intC_IWUSR
Permits the owner of a file to write to the file
static intC_IXGRP
Permits a file's group to execute the file or to search the file's directory
static intC_IXOTH
Permits others to execute the file or to search the file's directory
static intC_IXUSR
Permits the owner of a file to execute the file or to search the file's directory
static shortFORMAT_NEW
write/read a CPIOEntry in the new format
static shortFORMAT_NEW_CRC
write/read a CPIOEntry in the new format with crc
static shortFORMAT_NEW_MASK
Mask for both new formats
static shortFORMAT_OLD_ASCII
write/read a CPIOEntry in the old ascii format
static shortFORMAT_OLD_BINARY
write/read a CPIOEntry in the old binary format
static shortFORMAT_OLD_MASK
Mask for both old formats
static StringMAGIC_NEW
magic number of a cpio entry in the new format
static StringMAGIC_NEW_CRC
magic number of a cpio entry in the new format with crc
static StringMAGIC_OLD_ASCII
magic number of a cpio entry in the old ascii format
static intMAGIC_OLD_BINARY
magic number of a cpio entry in the old binary format
static intS_IFMT
Mask for all file type bits.

Field Detail

C_IRGRP

public static final int C_IRGRP
Permits a file's group to read the file

C_IROTH

public static final int C_IROTH
Permits others to read the file

C_IRUSR

public static final int C_IRUSR
Permits the owner of a file to read the file

C_ISBLK

public static final int C_ISBLK
Defines a block device

C_ISCHR

public static final int C_ISCHR
Defines a character device

C_ISDIR

public static final int C_ISDIR
Defines a directory

C_ISFIFO

public static final int C_ISFIFO
Defines a pipe

C_ISGID

public static final int C_ISGID
TODO document

C_ISLNK

public static final int C_ISLNK
Defines a symbolic link

C_ISNWK

public static final int C_ISNWK
HP/UX network special (C_ISCTG)

C_ISREG

public static final int C_ISREG
Defines a regular file

C_ISSOCK

public static final int C_ISSOCK
Defines a socket

C_ISUID

public static final int C_ISUID
TODO document

C_ISVTX

public static final int C_ISVTX
TODO document

C_IWGRP

public static final int C_IWGRP
Permits a file's group to write to the file

C_IWOTH

public static final int C_IWOTH
Permits others to write to the file

C_IWUSR

public static final int C_IWUSR
Permits the owner of a file to write to the file

C_IXGRP

public static final int C_IXGRP
Permits a file's group to execute the file or to search the file's directory

C_IXOTH

public static final int C_IXOTH
Permits others to execute the file or to search the file's directory

C_IXUSR

public static final int C_IXUSR
Permits the owner of a file to execute the file or to search the file's directory

FORMAT_NEW

public static final short FORMAT_NEW
write/read a CPIOEntry in the new format

FORMAT_NEW_CRC

public static final short FORMAT_NEW_CRC
write/read a CPIOEntry in the new format with crc

FORMAT_NEW_MASK

public static final short FORMAT_NEW_MASK
Mask for both new formats

FORMAT_OLD_ASCII

public static final short FORMAT_OLD_ASCII
write/read a CPIOEntry in the old ascii format

FORMAT_OLD_BINARY

public static final short FORMAT_OLD_BINARY
write/read a CPIOEntry in the old binary format

FORMAT_OLD_MASK

public static final short FORMAT_OLD_MASK
Mask for both old formats

MAGIC_NEW

public static final String MAGIC_NEW
magic number of a cpio entry in the new format

MAGIC_NEW_CRC

public static final String MAGIC_NEW_CRC
magic number of a cpio entry in the new format with crc

MAGIC_OLD_ASCII

public static final String MAGIC_OLD_ASCII
magic number of a cpio entry in the old ascii format

MAGIC_OLD_BINARY

public static final int MAGIC_OLD_BINARY
magic number of a cpio entry in the old binary format

S_IFMT

public static final int S_IFMT
Mask for all file type bits.