Package net.webpdf.wsclient.openapi
Enum OperationMergeFileData.FormatEnum
- java.lang.Object
-
- java.lang.Enum<OperationMergeFileData.FormatEnum>
-
- net.webpdf.wsclient.openapi.OperationMergeFileData.FormatEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationMergeFileData.FormatEnum>
- Enclosing class:
- OperationMergeFileData
public static enum OperationMergeFileData.FormatEnum extends Enum<OperationMergeFileData.FormatEnum>
Specifies the format how to pass the documents to be used for merging. * pdf = A single PDF file * zip = It is a ZIP file that contains one or more PDF documents. * id = It is a semicolon separated list of document ID's referencing documents already on the server (REST API only). **Important:** The \"id\" parameter can be used only with REST API. Each document that has been uploaded to the server via REST API has a unique ID. This ID can be used to reference the document. In the content of the \"data\" element, the list is passed as BASE64 content. Example for two documents: * List of documents: 3bde686a47284a2da3bfce62bd6bb8bd;f5c2b314d0c74fd0878d1f4ca310b0ad * BASE64 encoded: M2JkZTY4NmE0NzI4NGEyZGEzYmZjZTYyYmQ2YmI4YmQ7ZjVjMmIzMTRkMGM3NGZkMDg3OGQxZjRjYTMxMGIwYWQ=
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationMergeFileData.FormatEnumfromValue(String value)StringgetValue()StringtoString()static OperationMergeFileData.FormatEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationMergeFileData.FormatEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PDF
public static final OperationMergeFileData.FormatEnum PDF
-
ZIP
public static final OperationMergeFileData.FormatEnum ZIP
-
ID
public static final OperationMergeFileData.FormatEnum ID
-
-
Method Detail
-
values
public static OperationMergeFileData.FormatEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperationMergeFileData.FormatEnum c : OperationMergeFileData.FormatEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationMergeFileData.FormatEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationMergeFileData.FormatEnum>
-
fromValue
public static OperationMergeFileData.FormatEnum fromValue(String value)
-
-