Package org.mapfish.print.config
Interface ReportStorage
-
- All Superinterfaces:
ConfigurationObject
- All Known Implementing Classes:
S3ReportStorage
public interface ReportStorage extends ConfigurationObject
Configuration on how to store the reports until the user fetches them.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.URL
save(java.lang.String ref, java.lang.String filename, java.lang.String extension, java.lang.String mimeType, java.io.File file)
Save the report in the storage.-
Methods inherited from interface org.mapfish.print.config.ConfigurationObject
validate
-
-
-
-
Method Detail
-
save
java.net.URL save(java.lang.String ref, java.lang.String filename, java.lang.String extension, java.lang.String mimeType, java.io.File file)
Save the report in the storage.- Parameters:
ref
- The reference number.filename
- The filename.extension
- The file extension.mimeType
- The mime type.file
- The file containing the report.- Returns:
- The URL that can be used to fetch the result.
-
-