Package org.apache.tools.zip
Class ExtraFieldUtils.UnparseableExtraField
java.lang.Object
org.apache.tools.zip.ExtraFieldUtils.UnparseableExtraField
- Enclosing class:
- ExtraFieldUtils
"enum" for the possible actions to take if the extra field
cannot be parsed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionRead the extra field data into an instance ofUnparseableExtraFieldData
.static int
Key for "read" action.Skip the extra field entirely and don't make its data available - effectively removing the extra field data.static int
Key for "skip" action.Throw an exception if field cannot be parsed.static int
Key for "throw an exception" action. -
Method Summary
-
Field Details
-
THROW_KEY
public static final int THROW_KEYKey for "throw an exception" action.- See Also:
- Constant Field Values
-
SKIP_KEY
public static final int SKIP_KEYKey for "skip" action.- See Also:
- Constant Field Values
-
READ_KEY
public static final int READ_KEYKey for "read" action.- See Also:
- Constant Field Values
-
THROW
Throw an exception if field cannot be parsed. -
SKIP
Skip the extra field entirely and don't make its data available - effectively removing the extra field data. -
READ
Read the extra field data into an instance ofUnparseableExtraFieldData
.
-
-
Method Details
-
getKey
public int getKey()Key of the action to take.- Returns:
- int
-