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 SummaryFieldsModifier and TypeFieldDescriptionstatic final ExtraFieldUtils.UnparseableExtraFieldRead the extra field data into an instance ofUnparseableExtraFieldData.static final intKey for "read" action.static final ExtraFieldUtils.UnparseableExtraFieldSkip the extra field entirely and don't make its data available - effectively removing the extra field data.static final intKey for "skip" action.static final ExtraFieldUtils.UnparseableExtraFieldThrow an exception if field cannot be parsed.static final intKey for "throw an exception" action.
- 
Method Summary
- 
Field Details- 
THROW_KEYpublic static final int THROW_KEYKey for "throw an exception" action.- See Also:
 
- 
SKIP_KEYpublic static final int SKIP_KEYKey for "skip" action.- See Also:
 
- 
READ_KEYpublic static final int READ_KEYKey for "read" action.- See Also:
 
- 
THROWThrow an exception if field cannot be parsed.
- 
SKIPSkip the extra field entirely and don't make its data available - effectively removing the extra field data.
- 
READRead the extra field data into an instance ofUnparseableExtraFieldData.
 
- 
- 
Method Details- 
getKeypublic int getKey()Key of the action to take.- Returns:
- int
 
 
-