public final class NextReportsResult extends java.lang.Object implements ReportResult<byte[]>, java.io.Serializable
ReportResult implementation based on NextReports| Constructor and Description |
|---|
NextReportsResult(byte[] bytes,
java.lang.String format)
Instantiates a new
NextReportsResult |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getResult() |
java.io.File |
writeResultToFile(java.io.File file)
Writes this result to a file
|
java.io.File |
writeResultToFile(java.lang.String parentDirectory,
java.lang.String filename)
Writes this result to a file
|
public NextReportsResult(byte[] bytes,
java.lang.String format)
NextReportsResultbytes - the bytes comprising the report resultformat - the report formatpublic byte[] getResult()
getResult in interface ReportResult<byte[]>public java.io.File writeResultToFile(java.lang.String parentDirectory,
java.lang.String filename)
throws java.io.IOException
parentDirectory - the parent directoryfilename - the name of the file to writejava.io.IOException - in case of an exceptionpublic java.io.File writeResultToFile(java.io.File file)
throws java.io.IOException
file - the file to write tojava.io.IOException - in case of an exception