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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The default block size.
    static final int
    Permits a file's group to read the file
    static final int
    Permits others to read the file
    static final int
    Permits the owner of a file to read the file
    static final int
    Defines a block device
    static final int
    Defines a character device
    static final int
    Defines a directory
    static final int
    Defines a pipe
    static final int
    Set group ID
    static final int
    Defines a symbolic link
    static final int
    HP/UX network special (C_ISCTG)
    static final int
    Defines a regular file
    static final int
    Defines a socket
    static final int
    Set user ID
    static final int
    On directories, restricted deletion flag.
    static final int
    Permits a file's group to write to the file
    static final int
    Permits others to write to the file
    static final int
    Permits the owner of a file to write to the file
    static final int
    Permits a file's group to execute the file or to search the directory
    static final int
    Permits others to execute the file or to search the directory
    static final int
    Permits the owner of a file to execute the file or to search the directory
    static final String
    The special trailer marker
    static 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 format
    static final String
    magic number of a cpio entry in the new format with crc
    static final String
    magic number of a cpio entry in the old ascii format
    static final int
    magic number of a cpio entry in the old binary format
    static final int
    Mask for all file type bits.
  • Field Details

    • MAGIC_NEW

      static final String MAGIC_NEW
      magic number of a cpio entry in the new format
      See Also:
    • MAGIC_NEW_CRC

      static final String MAGIC_NEW_CRC
      magic number of a cpio entry in the new format with crc
      See Also:
    • MAGIC_OLD_ASCII

      static final String MAGIC_OLD_ASCII
      magic number of a cpio entry in the old ascii format
      See Also:
    • MAGIC_OLD_BINARY

      static final int MAGIC_OLD_BINARY
      magic number of a cpio entry in the old binary format
      See Also:
    • FORMAT_NEW

      static final short FORMAT_NEW
      write/read a CpioArchiveEntry in the new format. FORMAT_ constants are internal.
      See Also:
    • FORMAT_NEW_CRC

      static final short FORMAT_NEW_CRC
      write/read a CpioArchiveEntry in the new format with crc. FORMAT_ constants are internal.
      See Also:
    • FORMAT_OLD_ASCII

      static final short FORMAT_OLD_ASCII
      write/read a CpioArchiveEntry in the old ascii format. FORMAT_ constants are internal.
      See Also:
    • FORMAT_OLD_BINARY

      static final short FORMAT_OLD_BINARY
      write/read a CpioArchiveEntry in the old binary format. FORMAT_ constants are internal.
      See Also:
    • FORMAT_NEW_MASK

      static final short FORMAT_NEW_MASK
      Mask for both new formats. FORMAT_ constants are internal.
      See Also:
    • FORMAT_OLD_MASK

      static final short FORMAT_OLD_MASK
      Mask for both old formats. FORMAT_ constants are internal.
      See Also:
    • S_IFMT

      static final int S_IFMT
      Mask for all file type bits.
      See Also:
    • C_ISSOCK

      static final int C_ISSOCK
      Defines a socket
      See Also:
    • C_ISLNK

      static final int C_ISLNK
      Defines a symbolic link
      See Also:
    • C_ISNWK

      static final int C_ISNWK
      HP/UX network special (C_ISCTG)
      See Also:
    • C_ISREG

      static final int C_ISREG
      Defines a regular file
      See Also:
    • C_ISBLK

      static final int C_ISBLK
      Defines a block device
      See Also:
    • C_ISDIR

      static final int C_ISDIR
      Defines a directory
      See Also:
    • C_ISCHR

      static final int C_ISCHR
      Defines a character device
      See Also:
    • C_ISFIFO

      static final int C_ISFIFO
      Defines a pipe
      See Also:
    • C_ISUID

      static final int C_ISUID
      Set user ID
      See Also:
    • C_ISGID

      static final int C_ISGID
      Set group ID
      See Also:
    • C_ISVTX

      static final int C_ISVTX
      On directories, restricted deletion flag.
      See Also:
    • C_IRUSR

      static final int C_IRUSR
      Permits the owner of a file to read the file
      See Also:
    • C_IWUSR

      static final int C_IWUSR
      Permits the owner of a file to write to the file
      See Also:
    • C_IXUSR

      static final int C_IXUSR
      Permits the owner of a file to execute the file or to search the directory
      See Also:
    • C_IRGRP

      static final int C_IRGRP
      Permits a file's group to read the file
      See Also:
    • C_IWGRP

      static final int C_IWGRP
      Permits a file's group to write to the file
      See Also:
    • C_IXGRP

      static final int C_IXGRP
      Permits a file's group to execute the file or to search the directory
      See Also:
    • C_IROTH

      static final int C_IROTH
      Permits others to read the file
      See Also:
    • C_IWOTH

      static final int C_IWOTH
      Permits others to write to the file
      See Also:
    • C_IXOTH

      static final int C_IXOTH
      Permits others to execute the file or to search the directory
      See Also:
    • CPIO_TRAILER

      static final String CPIO_TRAILER
      The special trailer marker
      See Also:
    • BLOCK_SIZE

      static final int BLOCK_SIZE
      The default block size.
      Since:
      1.1
      See Also: