Package org.faceless.publisher.resource
Enum Class ZipURLConnectionFactory.Flavor
java.lang.Object
java.lang.Enum<ZipURLConnectionFactory.Flavor>
org.faceless.publisher.resource.ZipURLConnectionFactory.Flavor
- All Implemented Interfaces:
Serializable
,Comparable<ZipURLConnectionFactory.Flavor>
,Constable
- Enclosing class:
- ZipURLConnectionFactory
Which variation of Zip file we're loading
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA Microsoft Office flavoured zip-file using "Open Packaging Conventions" (OPC).A plain Zip file with no special magicAn OpenDocument flavoured zip-file for all OpenOffice-type documnets, and ePub. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ZipURLConnectionFactory.Flavor[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
None
A plain Zip file with no special magic -
Microsoft
A Microsoft Office flavoured zip-file using "Open Packaging Conventions" (OPC). Will contain a file called "[Content_Types].xml" -
OpenDocument
An OpenDocument flavoured zip-file for all OpenOffice-type documnets, and ePub. Will contain a file called "metadata"
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-