Interface Exportable


public interface Exportable
A set of methods that any kind of result must implement to be exported to output file.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Exports the result to a provided output stream.
    Generates a useful file name for this kind of exported data.
  • Method Details

    • 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.
    • suggestName

      File suggestName()
      Generates a useful file name for this kind of exported data.
      Returns:
      An instance of File depicting a file name.