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