Class FileExporter

  • All Implemented Interfaces:
    java.lang.AutoCloseable, ExportFileSupplier

    @Immutable
    public abstract class FileExporter
    extends java.lang.Object
    implements ExportFileSupplier
    Nessie exporter that writes to individual files into an empty target directory.
    • Constructor Detail

      • FileExporter

        public FileExporter()
    • Method Detail

      • preValidate

        public void preValidate()
                         throws java.io.IOException
        Specified by:
        preValidate in interface ExportFileSupplier
        Throws:
        java.io.IOException
      • newFileOutput

        @Nonnull
        @Nonnull
        public java.io.OutputStream newFileOutput​(@Nonnull @Nonnull
                                                  java.lang.String fileName)
                                           throws java.io.IOException
        Specified by:
        newFileOutput in interface ExportFileSupplier
        Throws:
        java.io.IOException
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable