Class FileExporter
java.lang.Object
org.projectnessie.versioned.transfer.files.FileExporter
- All Implemented Interfaces:
AutoCloseable,ExportFileSupplier
Nessie exporter that writes to individual files into an empty target directory.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileExporter.Builderbuilder()voidclose()newFileOutput(String fileName) void
-
Constructor Details
-
FileExporter
public FileExporter()
-
-
Method Details
-
builder
-
getTargetPath
- Specified by:
getTargetPathin interfaceExportFileSupplier
-
preValidate
- Specified by:
preValidatein interfaceExportFileSupplier- Throws:
IOException
-
newFileOutput
- Specified by:
newFileOutputin interfaceExportFileSupplier- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-