Interface PluginSessionExporter
public interface PluginSessionExporter
Export arbitrary data from a plugin.
- Since:
- 18833
-
Method Summary
Modifier and TypeMethodDescriptionGet the filename to store the data in the archivebooleanCheck to see if the specified exporter needs to save anythingvoidwrite(OutputStream outputStream) Write the plugin data to a streamdefault voidwriteZipEntries(ZipOutputStream zipOut) Write data to a zip file
-
Method Details
-
getFileName
Get the filename to store the data in the archive- Returns:
- The filename
- See Also:
-
requiresSaving
boolean requiresSaving()Check to see if the specified exporter needs to save anything- Returns:
trueif the exporter needs to save something
-
writeZipEntries
Write data to a zip file- Parameters:
zipOut- The zip output stream- Throws:
IOException- seeZipOutputStream.putNextEntry(ZipEntry)ZipException- seeZipOutputStream.putNextEntry(ZipEntry)
-
write
Write the plugin data to a stream- Parameters:
outputStream- The stream to write to
-