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, setSessionAttributeMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorCode, getErrorMessage, getSessionAttributeMap, getSuccessValue
public ProcessingResultFileData(String fileName, boolean forceDownload, byte[] fileContent, boolean success)
public ProcessingResultFileData(String fileName, boolean forceDownload, byte[] fileContent)
public byte[] getFileContent()
IProcessingResultFileData
getFileContent
in interface IProcessingResultFileData
Byte
-Array of the file contentpublic boolean getForceDownload()
IProcessingResultFileData
getForceDownload
in interface IProcessingResultFileData
Boolean
if the download should be forcedpublic String getFileName()
IProcessingResultFileData
getFileName
in interface IProcessingResultFileData
String
the file namepublic String getPlaceholderValue(int index, String key)
IProcessingResult
List
of Map
s. This return the value at a given index and
key.getPlaceholderValue
in interface IProcessingResult
index
- 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 IProcessingResult
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.