Interface BinaryIIConstants

All Known Implementing Classes:
BinaryIIFileEntry, BinaryIIFileStore, BinaryIIFileStoreFactory

public interface BinaryIIConstants
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    ProDOS 8 access byte.
    static final int
    ProDOS 8 auxiliary type.
    static final int
    Binary II block size.
    static final int
    Date of creation (ProDOS 8 format).
    static final int
    Time of creation (ProDOS 8 format).
    static final int
    Metadata on the contents.
    static final int
    The end-of-file value for the file (low byte first).
    static final int
    Pascal string containing the ASCII filename or partial pathname of this file in ProDOS 8 format.
    static final int
    The size of the file in 512-byte blocks.
    static final int
    ProDOS 8 file type.
    static final int
    The high byte of the file's GS/OS access word.
    static final int
    The high word of the file's GS/OS auxiliary type.
    static final int
    The high byte of the file's GS/OS EOF value.
    static final int
    The high word of the file's GS/OS file size.
    static final int
    The high byte of the file's GS/OS file type.
    static final int
    The high byte of the file's GS/OS storage type.
    static final byte[]
    First set of identification bytes.
    static final int
    Offset to the first set of identification bytes.
    static final byte[]
    Fourth identification byte.
    static final int
    Fourth identification byte.
    static final int
    Date of modification (ProDOS 8 format).
    static final int
    Time of modification (ProDOS 8 format).
    static final int
    The native file type code assigned to the file.
    static final int
    Pascal string containing the ASCII value of the native filename.
    static final int
    The native operating system of the file.
    static final int
    Indicates if the file should be ignored.
    static final int
    The number of files in this Binary II file that remain.
    static final int
    ProDOS 8 storage type.
    static final int
    Version of the Binary II format.
  • Field Details

    • BLOCK_SIZE

      static final int BLOCK_SIZE
      Binary II block size.
      See Also:
    • ID_BYTES1

      static final byte[] ID_BYTES1
      First set of identification bytes.
    • ID_BYTES2

      static final byte[] ID_BYTES2
      Fourth identification byte.
    • ID_BYTES1_OFFSET

      static final int ID_BYTES1_OFFSET
      Offset to the first set of identification bytes.
      See Also:
    • ACCESS_CODE

      static final int ACCESS_CODE
      ProDOS 8 access byte.
      See Also:
    • FILE_TYPE

      static final int FILE_TYPE
      ProDOS 8 file type.
      See Also:
    • AUX_TYPE

      static final int AUX_TYPE
      ProDOS 8 auxiliary type.
      See Also:
    • STORAGE_TYPE

      static final int STORAGE_TYPE
      ProDOS 8 storage type.
      See Also:
    • FILE_SIZE

      static final int FILE_SIZE
      The size of the file in 512-byte blocks.
      See Also:
    • MODIFICATION_DATE

      static final int MODIFICATION_DATE
      Date of modification (ProDOS 8 format).
      See Also:
    • MODIFICATION_TIME

      static final int MODIFICATION_TIME
      Time of modification (ProDOS 8 format).
      See Also:
    • CREATION_DATE

      static final int CREATION_DATE
      Date of creation (ProDOS 8 format).
      See Also:
    • CREATION_TIME

      static final int CREATION_TIME
      Time of creation (ProDOS 8 format).
      See Also:
    • ID_BYTES2_OFFSET

      static final int ID_BYTES2_OFFSET
      Fourth identification byte.
      See Also:
    • EOF

      static final int EOF
      The end-of-file value for the file (low byte first).
      See Also:
    • FILE_NAME

      static final int FILE_NAME
      Pascal string containing the ASCII filename or partial pathname of this file in ProDOS 8 format. The string cannot be longer than 64 characters.
      See Also:
    • NATIVE_NAME

      static final int NATIVE_NAME
      Pascal string containing the ASCII value of the native filename. This string may not be longer than 48 characters, and will not be present if the length byte of file name is larger than 15.
      See Also:
    • GSOS_AUX_TYPE

      static final int GSOS_AUX_TYPE
      The high word of the file's GS/OS auxiliary type.
      See Also:
    • GSOS_ACCESS

      static final int GSOS_ACCESS
      The high byte of the file's GS/OS access word.
      See Also:
    • GSOS_FILE_TYPE

      static final int GSOS_FILE_TYPE
      The high byte of the file's GS/OS file type.
      See Also:
    • GSOS_STORAGE

      static final int GSOS_STORAGE
      The high byte of the file's GS/OS storage type.
      See Also:
    • GSOS_FILE_SIZE

      static final int GSOS_FILE_SIZE
      The high word of the file's GS/OS file size.
      See Also:
    • GSOS_EOF

      static final int GSOS_EOF
      The high byte of the file's GS/OS EOF value.
      See Also:
    • OS_TYPE

      static final int OS_TYPE
      The native operating system of the file.
      See Also:
    • NATIVE_FILE_TYPE

      static final int NATIVE_FILE_TYPE
      The native file type code assigned to the file. Only valid if OS_TYPE is non-zero (not ProDOS).
      See Also:
    • PHANTOM_FILE_FLAG

      static final int PHANTOM_FILE_FLAG
      Indicates if the file should be ignored. It was present to allow file communication programs to have custom data sent in the file. Non-zero indicates a regular file.
      See Also:
    • DATA_FLAGS

      static final int DATA_FLAGS

      Metadata on the contents.

      Bit Description
      7 1 = file is compressed
      6 1 = file is encrypted
      5..1 reserved
      0 1 = file is sparse
      See Also:
    • VERSION

      static final int VERSION
      Version of the Binary II format. Only $01 is defined.
      See Also:
    • REMAINING_FILES

      static final int REMAINING_FILES
      The number of files in this Binary II file that remain.
      See Also: