Package pl.poznan.put.interfaces
Interface Exportable
-
public interface ExportableA set of methods that any kind of result must implement to be exported to output file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexport(OutputStream stream)Exports the result to a provided output stream.FilesuggestName()Generates a useful file name for this kind of exported data.
-
-
-
Method Detail
-
export
void export(OutputStream stream) throws IOException
Exports the result to a provided output stream.- Parameters:
stream- Where to export the data to.- Throws:
IOException- When it was impossible to export the data.
-
-