org.apache.tools.zipClass ExtraFieldUtils.UnparseableExtraField
- java.lang.Object
 
- org.apache.tools.zip.ExtraFieldUtils.UnparseableExtraField
 
- Enclosing class:
 - ExtraFieldUtils
 
public static final class ExtraFieldUtils.UnparseableExtraField extends java.lang.Object"enum" for the possible actions to take if the extra field cannot be parsed.
Field Summary
Fields Modifier and Type Field and Description static ExtraFieldUtils.UnparseableExtraFieldREADRead the extra field data into an instance ofUnparseableExtraFieldData.static intREAD_KEYKey for "read" action.static ExtraFieldUtils.UnparseableExtraFieldSKIPSkip the extra field entirely and don't make its data available - effectively removing the extra field data.static intSKIP_KEYKey for "skip" action.static ExtraFieldUtils.UnparseableExtraFieldTHROWThrow an exception if field cannot be parsed.static intTHROW_KEYKey for "throw an exception" action.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetKey()Key of the action to take.
Field Detail
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
public static final ExtraFieldUtils.UnparseableExtraField THROWThrow an exception if field cannot be parsed.
SKIP
public static final ExtraFieldUtils.UnparseableExtraField SKIPSkip the extra field entirely and don't make its data available - effectively removing the extra field data.
READ
public static final ExtraFieldUtils.UnparseableExtraField READRead the extra field data into an instance ofUnparseableExtraFieldData.