Class FileImporter
- java.lang.Object
-
- org.projectnessie.versioned.transfer.files.FileImporter
-
- All Implemented Interfaces:
java.lang.AutoCloseable,ImportFileSupplier
@Immutable public abstract class FileImporter extends java.lang.Object implements ImportFileSupplier
Nessie importer using data from directory.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFileImporter.Builder
-
Constructor Summary
Constructors Constructor Description FileImporter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileImporter.Builderbuilder()voidclose()java.io.InputStreamnewFileInput(java.lang.String fileName)
-
-
-
Method Detail
-
builder
public static FileImporter.Builder builder()
-
newFileInput
@Nonnull @Nonnull public java.io.InputStream newFileInput(@Nonnull @Nonnull java.lang.String fileName) throws java.io.IOException- Specified by:
newFileInputin interfaceImportFileSupplier- Throws:
java.io.IOException
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-