|
|||||||||
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
Enum Constant Summary | |
---|---|
ATTRIBUTES
|
|
BLOCK
|
|
CLUSTER_SIZE
|
|
COMMENT
|
|
COMMENTED
|
|
CRC
|
|
CREATION_TIME
|
|
DICTIONARY_SIZE
|
|
ENCRYPTED
Flag either a item encrypted or not. |
|
EXTENSION
|
|
FILE_SYSTEM
|
|
FREE_SPACE
|
|
GROUP
|
|
HANDLER_ITEM_INDEX
Unknown purpose |
|
HOST_OS
|
|
IS_ANTI
|
|
IS_FOLDER
Flag either a item represents a folder or not. |
|
LAST_ACCESS_TIME
|
|
LAST_WRITE_TIME
|
|
LOCAL_NAME
|
|
METHOD
|
|
NAME
In IArchiveOpenCallback : Name of the volume to get |
|
NO_PROPERTY1
Dummy property1. |
|
NO_PROPERTY2
Dummy property2. |
|
PACKED_SIZE
Size of the packed item in archive. |
|
PATH
Full path, name and extension of the file inside the archive. |
|
POSITION
|
|
PREFIX
|
|
PROVIDER
|
|
SIZE
Size of the original file. |
|
SOLID
|
|
SPLIT_AFTER
|
|
SPLIT_BEFORE
|
|
TOTAL_SIZE
|
|
TYPE
|
|
UNKNOWN
Unknown PropID. |
|
USER
|
|
USER_DEFINED
|
|
VOLUME_NAME
|
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 are 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'
. 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.
Type: Long
null
will be returned, if current archive type doesn't support this property.
public static final PropID ATTRIBUTES
public static final PropID CREATION_TIME
public static final PropID LAST_ACCESS_TIME
public static final PropID LAST_WRITE_TIME
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
public static final PropID METHOD
public static final PropID HOST_OS
public static final PropID FILE_SYSTEM
public static final PropID USER
public static final PropID GROUP
public static final PropID BLOCK
public static final PropID COMMENT
public static final PropID POSITION
public static final PropID PREFIX
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 USER_DEFINED
public static final PropID UNKNOWN
Method Detail |
---|
public static 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 name
java.lang.NullPointerException
- if the argument is nullpublic 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 |