Package net.webpdf.wsclient.openapi
Class OperationConverterTemplate
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationConverterTemplate
-
public class OperationConverterTemplate extends Object
Can be used to define settings for file formats for which a template is required for conversion. As of this writing, these settings apply to the following file formats: * MIME mail (eml) * Outlook message (msg) * iCalendar (ics) / vCalendar (vcs) * vCard (vcf) * Serial Vector Format (svg) * Text document (txt) In addition, you can replace the default template with a custom template of your own in \"file\". You can also use your own variables in this custom template. These variables would then need to be passed with a JSON structure (Base64-encoded) in \"data\".
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DATAstatic StringJSON_PROPERTY_FILEstatic StringJSON_PROPERTY_LANGUAGE
-
Constructor Summary
Constructors Constructor Description OperationConverterTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationConverterTemplate_file(OperationTemplateFile _file)OperationConverterTemplatedata(OperationTemplateData data)booleanequals(Object o)@Nullable OperationTemplateDatagetData()Get data@Nullable OperationTemplateFilegetFile()Get _file@Nullable StringgetLanguage()An ISO 639-1-compliant language code consisting of 2 letters.inthashCode()OperationConverterTemplatelanguage(String language)voidsetData(OperationTemplateData data)voidsetFile(OperationTemplateFile _file)voidsetLanguage(String language)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE
public static final String JSON_PROPERTY_FILE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LANGUAGE
public static final String JSON_PROPERTY_LANGUAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
data
public OperationConverterTemplate data(OperationTemplateData data)
-
getData
@Nullable public @Nullable OperationTemplateData getData()
Get data- Returns:
- data
-
setData
public void setData(OperationTemplateData data)
-
_file
public OperationConverterTemplate _file(OperationTemplateFile _file)
-
getFile
@Nullable public @Nullable OperationTemplateFile getFile()
Get _file- Returns:
- _file
-
setFile
public void setFile(OperationTemplateFile _file)
-
language
public OperationConverterTemplate language(String language)
-
getLanguage
@Nullable public @Nullable String getLanguage()
An ISO 639-1-compliant language code consisting of 2 letters. If there is one, a localized template will be selected using the language selected here. If not defined, the language in which webPDF is run will be used.- Returns:
- language
-
setLanguage
public void setLanguage(String language)
-
-