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()longfixMaxFileSize(long userProvidedMaxFileSize) newFileOutput(String fileName) void
-
Constructor Details
-
FileExporter
public FileExporter()
-
-
Method Details
-
builder
-
fixMaxFileSize
public long fixMaxFileSize(long userProvidedMaxFileSize) - Specified by:
fixMaxFileSizein interfaceExportFileSupplier
-
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
-