public static enum IWorkPackageParser.IWORKDocumentType extends java.lang.Enum<IWorkPackageParser.IWORKDocumentType>
Modifier and Type | Method and Description |
---|---|
static IWorkPackageParser.IWORKDocumentType |
detectType(java.io.InputStream stream) |
static IWorkPackageParser.IWORKDocumentType |
detectType(ZipArchiveEntry entry,
ZipArchiveInputStream zip) |
static IWorkPackageParser.IWORKDocumentType |
detectType(ZipArchiveEntry entry,
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
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(ZipArchiveEntry entry, ZipFile zip)
public static IWorkPackageParser.IWORKDocumentType detectType(ZipArchiveEntry entry, ZipArchiveInputStream zip)
public static IWorkPackageParser.IWORKDocumentType detectType(java.io.InputStream stream)
Copyright © 2010 - 2020 Adobe. All Rights Reserved