public static enum IWorkPackageParser.IWORKDocumentType extends Enum<IWorkPackageParser.IWORKDocumentType>
Modifier and Type | Method and Description |
---|---|
static IWorkPackageParser.IWORKDocumentType |
detectType(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) |
String |
getNamespace() |
String |
getPart() |
MediaType |
getType() |
static IWorkPackageParser.IWORKDocumentType |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getNamespace()
public 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)
public static IWorkPackageParser.IWORKDocumentType detectType(InputStream stream)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.