public static enum IWorkPackageParser.IWORKDocumentType extends java.lang.Enum<IWorkPackageParser.IWORKDocumentType>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
namespace |
private java.lang.String |
part |
private MediaType |
type |
Modifier and Type | Method and Description |
---|---|
private static IWorkPackageParser.IWORKDocumentType |
detectType(java.io.InputStream stream) |
static IWorkPackageParser.IWORKDocumentType |
detectType(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry,
org.apache.commons.compress.archivers.zip.ZipArchiveInputStream zip) |
static IWorkPackageParser.IWORKDocumentType |
detectType(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry,
org.apache.commons.compress.archivers.zip.ZipFile zip) |
java.lang.String |
getNamespace() |
java.lang.String |
getPart() |
MediaType |
getType() |
static IWorkPackageParser.IWORKDocumentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IWorkPackageParser.IWORKDocumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IWorkPackageParser.IWORKDocumentType KEYNOTE
public static final IWorkPackageParser.IWORKDocumentType NUMBERS
public static final IWorkPackageParser.IWORKDocumentType PAGES
public static final IWorkPackageParser.IWORKDocumentType ENCRYPTED
private final java.lang.String namespace
private final java.lang.String part
private final MediaType type
public static IWorkPackageParser.IWORKDocumentType[] values()
for (IWorkPackageParser.IWORKDocumentType c : IWorkPackageParser.IWORKDocumentType.values()) System.out.println(c);
public static IWorkPackageParser.IWORKDocumentType 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getNamespace()
public java.lang.String getPart()
public MediaType getType()
public static IWorkPackageParser.IWORKDocumentType detectType(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry, org.apache.commons.compress.archivers.zip.ZipFile zip)
public static IWorkPackageParser.IWORKDocumentType detectType(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry, org.apache.commons.compress.archivers.zip.ZipArchiveInputStream zip)
private static IWorkPackageParser.IWORKDocumentType detectType(java.io.InputStream stream)