public class ProcessingResultFileData extends AProcessingResult implements IProcessingResultFileData
| Constructor and Description |
|---|
ProcessingResultFileData(String fileName,
boolean forceDownload,
byte[] fileContent) |
ProcessingResultFileData(String fileName,
boolean forceDownload,
byte[] fileContent,
boolean success) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getFileContent()
Getter for the binary content of the file
|
String |
getFileName()
Getter of the file name
|
boolean |
getForceDownload()
Getter if the file should returned as an forced download
|
String |
getPlaceholderValue(int index,
String key)
|
int |
getValuesCount() |
getSessionAttributeMap, getSuccessValue, setSessionAttributeMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErrorCode, getErrorMessage, getSessionAttributeMap, getSuccessValuepublic ProcessingResultFileData(String fileName, boolean forceDownload, byte[] fileContent, boolean success)
public ProcessingResultFileData(String fileName, boolean forceDownload, byte[] fileContent)
public byte[] getFileContent()
IProcessingResultFileDatagetFileContent in interface IProcessingResultFileDataByte-Array of the file contentpublic boolean getForceDownload()
IProcessingResultFileDatagetForceDownload in interface IProcessingResultFileDataBoolean if the download should be forcedpublic String getFileName()
IProcessingResultFileDatagetFileName in interface IProcessingResultFileDataString the file namepublic String getPlaceholderValue(int index, String key)
IProcessingResultList of Maps. This return the value at a given index and
key.getPlaceholderValue in interface IProcessingResultindex - Index at which to retrieve the processing result value.key - Key at which to retrieve the processing result value.public int getValuesCount()
getValuesCount in interface IProcessingResultCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.