| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Zip64Mode>
org.apache.tools.zip.Zip64Mode
public enum Zip64Mode
The different modes ZipOutputStream can operate in.
ZipOutputStream.setUseZip64(org.apache.tools.zip.Zip64Mode)| Enum Constant Summary | |
|---|---|
| AlwaysUse Zip64 extensions for all entries, even if it is clear it is not required. | |
| AsNeededUse Zip64 extensions for all entries where they are required, don't use them for entries that clearly don't require them. | |
| NeverDon't use Zip64 extensions for any entries. | |
| Method Summary | |
|---|---|
| static Zip64Mode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static Zip64Mode[] | values()Returns an array containing the constants of this enum type, in the order they are declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, 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 Zip64Mode Always
public static final Zip64Mode Never
This will cause a Zip64RequiredException to be
 thrown if ZipOutputStream detects it needs Zip64
 support.
public static final Zip64Mode AsNeeded
| Method Detail | 
|---|
public static Zip64Mode[] values()
for (Zip64Mode c : Zip64Mode.values()) System.out.println(c);
public static Zip64Mode 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 null| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||