Enum Class PropID

java.lang.Object
java.lang.Enum<PropID>
net.sf.sevenzipjbinding.PropID
All Implemented Interfaces:
Serializable, Comparable<PropID>, Constable

public enum PropID extends Enum<PropID>
Enumeration of possible archive and archive-item properties.
Since:
4.65-1
Author:
Boris Brodski
  • Enum Constant Details

    • NO_PROPERTY1

      public static final PropID NO_PROPERTY1
      Dummy property1. First real property should have an item 2. So skip the position 2.
    • NO_PROPERTY2

      public static final PropID NO_PROPERTY2
      Dummy property2. First real property should have an item 2. So skip the position 1.
    • HANDLER_ITEM_INDEX

      public static final PropID HANDLER_ITEM_INDEX
      Unknown purpose
    • PATH

      public static final PropID PATH
      Full path, name and extension of the file inside the archive. Example: 'dir/file.ext'. Use File.separator for better cross-platform compatibility. Please note that stream archive formats such as gzip do not support this property, since they always compress a single file (or stream).

      Type: String. null will be returned, if current archive type doesn't support this property.
    • NAME

      public static final PropID NAME
      In IArchiveOpenCallback: Name of the volume to get
    • EXTENSION

      public static final PropID EXTENSION
    • IS_FOLDER

      public static final PropID IS_FOLDER
      Flag indicating whether an item represents a folder or not. Please note that some archive formats do not define special items for folders. In this case you may get an item with a path 'dir/file' without having an item for 'dir' at all.

      Type: Boolean. true if item is a folder, otherwise false. Boolean.FALSE is returned, if archive format doesn't support this property. This property is never null.
    • SIZE

      public static final PropID SIZE
      Uncompressed size of the item in bytes. Type: Long null will be returned, if current archive type doesn't support this property.
    • PACKED_SIZE

      public static final PropID PACKED_SIZE
      Size of the packed (compressed) item in the archive.

      NOTE: for solid 7z archives, several items share a single compressed stream, so a per-item packed size is undefined and null is returned for those items (only some items, or the containing block, report a value). A value of 0 likewise means the item adds no separate compressed data.

      Type: Long. null will be returned, if the current archive type doesn't support this property or if the size is not defined for this item (see the note above).
    • ATTRIBUTES

      public static final PropID ATTRIBUTES
      Archive item or file attributes. See PropID.AttributesBitMask for the supported bit masks.

      Type: Integer null will be returned, if current archive type doesn't support this property.

      Compression: The flag PropID.AttributesBitMask.FILE_ATTRIBUTE_DIRECTORY should be consistent with the IOutItem7z.getPropertyIsDir() property.
    • CREATION_TIME

      public static final PropID CREATION_TIME
      Date and time of the file creation.

      Type: Date null will be returned, if current archive type doesn't support this property.
    • LAST_ACCESS_TIME

      public static final PropID LAST_ACCESS_TIME
      Date and time of last access of the file.

      Type: Date null will be returned, if current archive type doesn't support this property.
    • LAST_MODIFICATION_TIME

      public static final PropID LAST_MODIFICATION_TIME
      Date and time the file was last time modified.

      Type: Date null will be returned, if current archive type doesn't support this property.
    • SOLID

      public static final PropID SOLID
    • COMMENTED

      public static final PropID COMMENTED
    • ENCRYPTED

      public static final PropID ENCRYPTED
      Flag indicating whether an item is encrypted or not.

      Type: Boolean. true if item is encrypted, otherwise false. Boolean.FALSE is returned, if archive format doesn't support this property. This property is never null.
    • SPLIT_BEFORE

      public static final PropID SPLIT_BEFORE
    • SPLIT_AFTER

      public static final PropID SPLIT_AFTER
    • DICTIONARY_SIZE

      public static final PropID DICTIONARY_SIZE
    • CRC

      public static final PropID CRC
    • TYPE

      public static final PropID TYPE
    • IS_ANTI

      public static final PropID IS_ANTI
      If true delete corresponding file or directory during extraction. Supported only by ArchiveFormat.SEVEN_ZIP.

      Type: Boolean null will be returned, if current archive type doesn't support this property.
    • METHOD

      public static final PropID METHOD
    • HOST_OS

      public static final PropID HOST_OS
    • FILE_SYSTEM

      public static final PropID FILE_SYSTEM
    • USER

      public static final PropID USER
      User (owner) of the file.

      Type: String null will be returned, if current archive type doesn't support this property.
    • GROUP

      public static final PropID GROUP
      Group (owner) of the file.

      Type: String null will be returned, if current archive type doesn't support this property.
    • BLOCK

      public static final PropID BLOCK
    • COMMENT

      public static final PropID COMMENT
    • POSITION

      public static final PropID POSITION
    • PREFIX

      public static final PropID PREFIX
    • NUM_SUB_DIRS

      public static final PropID NUM_SUB_DIRS
    • NUM_SUB_FILES

      public static final PropID NUM_SUB_FILES
    • UNPACK_VER

      public static final PropID UNPACK_VER
    • VOLUME

      public static final PropID VOLUME
    • IS_VOLUME

      public static final PropID IS_VOLUME
    • OFFSET

      public static final PropID OFFSET
    • NUM_BLOCKS

      public static final PropID NUM_BLOCKS
    • NUM_VOLUMES

      public static final PropID NUM_VOLUMES
    • TIME_TYPE

      public static final PropID TIME_TYPE
    • BIT64

      public static final PropID BIT64
    • BIG_ENDIAN

      public static final PropID BIG_ENDIAN
    • CPU

      public static final PropID CPU
    • PHY_SIZE

      public static final PropID PHY_SIZE
    • HEADERS_SIZE

      public static final PropID HEADERS_SIZE
    • CHECKSUM

      public static final PropID CHECKSUM
    • CHARACTS

      public static final PropID CHARACTS
    • VA

      public static final PropID VA
    • ID

      public static final PropID ID
    • SHORT_NAME

      public static final PropID SHORT_NAME
    • CREATOR_APP

      public static final PropID CREATOR_APP
    • SECTOR_SIZE

      public static final PropID SECTOR_SIZE
    • POSIX_ATTRIB

      public static final PropID POSIX_ATTRIB
      Posix attributes.

      Type: Integer null will be returned, if current archive type doesn't support this property.
    • ERROR

      public static final PropID ERROR
    • TOTAL_SIZE

      public static final PropID TOTAL_SIZE
    • FREE_SPACE

      public static final PropID FREE_SPACE
    • CLUSTER_SIZE

      public static final PropID CLUSTER_SIZE
    • VOLUME_NAME

      public static final PropID VOLUME_NAME
    • LOCAL_NAME

      public static final PropID LOCAL_NAME
    • PROVIDER

      public static final PropID PROVIDER
    • NT_SECURE

      public static final PropID NT_SECURE
    • IS_ALT_STREAM

      public static final PropID IS_ALT_STREAM
    • IS_AUX

      public static final PropID IS_AUX
    • IS_DELETED

      public static final PropID IS_DELETED
    • IS_TREE

      public static final PropID IS_TREE
    • SHA1

      public static final PropID SHA1
    • SHA256

      public static final PropID SHA256
    • ERROR_TYPE

      public static final PropID ERROR_TYPE
    • NUM_ERRORS

      public static final PropID NUM_ERRORS
    • ERROR_FLAGS

      public static final PropID ERROR_FLAGS
    • WARNING_FLAGS

      public static final PropID WARNING_FLAGS
    • WARNING

      public static final PropID WARNING
    • NUM_STREAMS

      public static final PropID NUM_STREAMS
    • NUM_ALT_STREAMS

      public static final PropID NUM_ALT_STREAMS
    • ALT_STREAMS_SIZE

      public static final PropID ALT_STREAMS_SIZE
    • VIRTUAL_SIZE

      public static final PropID VIRTUAL_SIZE
    • UNPACK_SIZE

      public static final PropID UNPACK_SIZE
    • TOTAL_PHY_SIZE

      public static final PropID TOTAL_PHY_SIZE
    • VOLUME_INDEX

      public static final PropID VOLUME_INDEX
    • SUB_TYPE

      public static final PropID SUB_TYPE
    • SHORT_COMMENT

      public static final PropID SHORT_COMMENT
    • CODE_PAGE

      public static final PropID CODE_PAGE
    • IS_NOT_ARC_TYPE

      public static final PropID IS_NOT_ARC_TYPE
    • PHY_SIZE_CANT_BE_DETECTED

      public static final PropID PHY_SIZE_CANT_BE_DETECTED
    • ZEROS_TAIL_IS_ALLOWED

      public static final PropID ZEROS_TAIL_IS_ALLOWED
    • TAIL_SIZE

      public static final PropID TAIL_SIZE
    • EMBEDDED_STUB_SIZE

      public static final PropID EMBEDDED_STUB_SIZE
    • NT_REPARSE

      public static final PropID NT_REPARSE
    • INODE

      public static final PropID INODE
    • STREAM_ID

      public static final PropID STREAM_ID
    • READ_ONLY

      public static final PropID READ_ONLY
    • OUT_NAME

      public static final PropID OUT_NAME
    • NUM_DEFINED

      public static final PropID NUM_DEFINED
    • USER_DEFINED

      public static final PropID USER_DEFINED
    • UNKNOWN

      public static final PropID UNKNOWN
      Unknown PropID. This PropID shouldn't be used.
  • Method Details

    • values

      public static PropID[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PropID valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPropIDIndex

      public int getPropIDIndex()
      Native index of the property
      Returns:
      Native index of the property
    • getPropIDByIndex

      public static PropID getPropIDByIndex(int propIDIndex)
      Get enumeration element by native property index
      Parameters:
      propIDIndex - native property index
      Returns:
      enumeration element