|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PropID> net.sf.sevenzipjbinding.PropID
public enum PropID
Enumeration for possible archive and archive item properties
Nested Class Summary | |
---|---|
static class |
PropID.AttributesBitMask
Windows file attribute bit mask. |
Enum Constant Summary | |
---|---|
ALT_STREAMS_SIZE
|
|
ATTRIBUTES
Archive item or file attributes. |
|
BIG_ENDIAN
|
|
BIT64
|
|
BLOCK
|
|
CHARACTS
|
|
CHECKSUM
|
|
CLUSTER_SIZE
|
|
CODE_PAGE
|
|
COMMENT
|
|
COMMENTED
|
|
COPY_LINK
|
|
CPU
|
|
CRC
|
|
CREATION_TIME
Date and time of the file creation. |
|
CREATOR_APP
|
|
DICTIONARY_SIZE
|
|
EMBEDDED_STUB_SIZE
|
|
ENCRYPTED
Flag either a item encrypted or not. |
|
ERROR
|
|
ERROR_FLAGS
|
|
ERROR_TYPE
|
|
EXTENSION
|
|
FILE_SYSTEM
|
|
FREE_SPACE
|
|
GROUP
Group (owner) of the file. Type: String null will be returned, if current archive type doesn't support this property. |
|
HANDLER_ITEM_INDEX
Unknown purpose |
|
HARD_LINK
Represent a hard link. |
|
HEADERS_SIZE
|
|
HOST_OS
|
|
ID
|
|
INODE
|
|
IS_ALT_STREAM
|
|
IS_ANTI
If true delete corresponding file or directory during extraction. |
|
IS_AUX
|
|
IS_DELETED
|
|
IS_FOLDER
Flag either a item represents a folder or not. |
|
IS_NOT_ARC_TYPE
|
|
IS_TREE
|
|
IS_VOLUME
|
|
LAST_ACCESS_TIME
Date and time of last access of the file. |
|
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. |
|
LINKS
|
|
LOCAL_NAME
|
|
METHOD
|
|
NAME
In IArchiveOpenCallback : Name of the volume to get |
|
NO_PROPERTY1
Dummy property1. |
|
NO_PROPERTY2
Dummy property2. |
|
NT_REPARSE
|
|
NT_SECURE
|
|
NUM_ALT_STREAMS
|
|
NUM_BLOCKS
|
|
NUM_DEFINED
|
|
NUM_ERRORS
|
|
NUM_STREAMS
|
|
NUM_SUB_DIRS
|
|
NUM_SUB_FILES
|
|
NUM_VOLUMES
|
|
OFFSET
|
|
OUT_NAME
|
|
PACKED_SIZE
Size of the packed item in archive. |
|
PATH
Full path, name and extension of the file inside the archive. |
|
PHY_SIZE
|
|
PHY_SIZE_CANT_BE_DETECTED
|
|
POSITION
|
|
POSIX_ATTRIB
Posix attributes. Type: Integer null will be returned, if current archive type doesn't support this property. |
|
PREFIX
|
|
PROVIDER
|
|
READ_ONLY
|
|
SECTOR_SIZE
|
|
SHA1
|
|
SHA256
|
|
SHORT_COMMENT
|
|
SHORT_NAME
|
|
SIZE
Size of the original file. |
|
SOLID
|
|
SPLIT_AFTER
|
|
SPLIT_BEFORE
|
|
STREAM_ID
|
|
SUB_TYPE
|
|
SYM_LINK
Represent a symbolic link. |
|
TAIL_SIZE
|
|
TIME_TYPE
|
|
TOTAL_PHY_SIZE
|
|
TOTAL_SIZE
|
|
TYPE
|
|
UNKNOWN
Unknown PropID. |
|
UNPACK_SIZE
|
|
UNPACK_VER
|
|
USER
User (owner) of the file. Type: String null will be returned, if current archive type doesn't support this property. |
|
USER_DEFINED
|
|
VA
|
|
VIRTUAL_SIZE
|
|
VOLUME
|
|
VOLUME_INDEX
|
|
VOLUME_NAME
|
|
WARNING
|
|
WARNING_FLAGS
|
|
ZEROS_TAIL_IS_ALLOWED
|
Method Summary | |
---|---|
static PropID |
getPropIDByIndex(int propIDIndex)
Get enumeration element by native property index |
int |
getPropIDIndex()
Native index of the property |
static PropID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PropID[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PropID NO_PROPERTY1
public static final PropID NO_PROPERTY2
public static final PropID HANDLER_ITEM_INDEX
public static final PropID PATH
'dir/file.ext'
. Use
File.separator
for better cross-platform compatibility. Please note, that stream archive formats such as
gzip does not support this property, since it is always a single file (or stream) being compressed.String
. null
will be returned, if current archive type doesn't support this property.
public static final PropID NAME
IArchiveOpenCallback
: Name of the volume to get
public static final PropID EXTENSION
public static final PropID IS_FOLDER
'dir/file'
without having an item for
'dir'
at all. 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
.
public static final PropID SIZE
-1
is returned, if no size known for this item.
Type: Long
null
will be returned, if current archive type doesn't support this property.
public static final PropID PACKED_SIZE
0
will be returned. It means either unknown or
the item shares compressed data with other items and so take no additional space in archive.Long
null
will be returned, if current archive type doesn't support this property.
public static final PropID ATTRIBUTES
PropID.AttributesBitMask
for the supported bit masks. Integer
null
will be returned, if current archive type doesn't support this property.PropID.AttributesBitMask.FILE_ATTRIBUTE_DIRECTORY
should be consistent with the
IOutItem7z.getPropertyIsDir()
property.
public static final PropID CREATION_TIME
Date
null
will be returned, if current archive type doesn't support this property.
public static final PropID LAST_ACCESS_TIME
Date
null
will be returned, if current archive type doesn't support this property.
public static final PropID LAST_MODIFICATION_TIME
Date
null
will be returned, if current archive type doesn't support this property.
public static final PropID SOLID
public static final PropID COMMENTED
public static final PropID ENCRYPTED
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
.
public static final PropID SPLIT_BEFORE
public static final PropID SPLIT_AFTER
public static final PropID DICTIONARY_SIZE
public static final PropID CRC
public static final PropID TYPE
public static final PropID IS_ANTI
true
delete corresponding file or directory during extraction. Supported only by
ArchiveFormat.SEVEN_ZIP
. Boolean
null
will be returned, if current archive type doesn't support this property.
public static final PropID METHOD
public static final PropID HOST_OS
public static final PropID FILE_SYSTEM
public static final PropID USER
String
null
will be returned, if current archive type doesn't support this property.
public static final PropID GROUP
String
null
will be returned, if current archive type doesn't support this property.
public static final PropID BLOCK
public static final PropID COMMENT
public static final PropID POSITION
public static final PropID PREFIX
public static final PropID NUM_SUB_DIRS
public static final PropID NUM_SUB_FILES
public static final PropID UNPACK_VER
public static final PropID VOLUME
public static final PropID IS_VOLUME
public static final PropID OFFSET
public static final PropID LINKS
public static final PropID NUM_BLOCKS
public static final PropID NUM_VOLUMES
public static final PropID TIME_TYPE
public static final PropID BIT64
public static final PropID BIG_ENDIAN
public static final PropID CPU
public static final PropID PHY_SIZE
public static final PropID HEADERS_SIZE
public static final PropID CHECKSUM
public static final PropID CHARACTS
public static final PropID VA
public static final PropID ID
public static final PropID SHORT_NAME
public static final PropID CREATOR_APP
public static final PropID SECTOR_SIZE
public static final PropID POSIX_ATTRIB
Integer
null
will be returned, if current archive type doesn't support this property.
public static final PropID SYM_LINK
public static final PropID ERROR
public static final PropID TOTAL_SIZE
public static final PropID FREE_SPACE
public static final PropID CLUSTER_SIZE
public static final PropID VOLUME_NAME
public static final PropID LOCAL_NAME
public static final PropID PROVIDER
public static final PropID NT_SECURE
public static final PropID IS_ALT_STREAM
public static final PropID IS_AUX
public static final PropID IS_DELETED
public static final PropID IS_TREE
public static final PropID SHA1
public static final PropID SHA256
public static final PropID ERROR_TYPE
public static final PropID NUM_ERRORS
public static final PropID ERROR_FLAGS
public static final PropID WARNING_FLAGS
public static final PropID WARNING
public static final PropID NUM_STREAMS
public static final PropID NUM_ALT_STREAMS
public static final PropID ALT_STREAMS_SIZE
public static final PropID VIRTUAL_SIZE
public static final PropID UNPACK_SIZE
public static final PropID TOTAL_PHY_SIZE
public static final PropID VOLUME_INDEX
public static final PropID SUB_TYPE
public static final PropID SHORT_COMMENT
public static final PropID CODE_PAGE
public static final PropID IS_NOT_ARC_TYPE
public static final PropID PHY_SIZE_CANT_BE_DETECTED
public static final PropID ZEROS_TAIL_IS_ALLOWED
public static final PropID TAIL_SIZE
public static final PropID EMBEDDED_STUB_SIZE
public static final PropID NT_REPARSE
public static final PropID HARD_LINK
public static final PropID INODE
public static final PropID STREAM_ID
public static final PropID READ_ONLY
public static final PropID OUT_NAME
public static final PropID COPY_LINK
public static final PropID NUM_DEFINED
public static final PropID USER_DEFINED
public static final PropID UNKNOWN
Method Detail |
---|
public static final PropID[] values()
for(PropID c : PropID.values()) System.out.println(c);
public static PropID valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int getPropIDIndex()
public static PropID getPropIDByIndex(int propIDIndex)
propIDIndex
- native property index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |