public class TarBz2ImporterImpl extends AssignableBase<Archive<?>> implements TarBz2Importer
Archive| Constructor and Description |
|---|
TarBz2ImporterImpl(Archive<?> archive) |
| Modifier and Type | Method and Description |
|---|---|
I |
importFrom(File file)
Imports provided File as a
Archive. |
I |
importFrom(File file,
Filter<ArchivePath> filter)
Imports provided File as a
Archive. |
I |
importFrom(InputStream stream)
Imports provided stream as a
Archive. |
I |
importFrom(InputStream stream,
Filter<ArchivePath> filter)
Imports provided stream as a
Archive. |
as, getArchiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitimportFrom, importFrom, importFrom, importFromaspublic TarBz2ImporterImpl(Archive<?> archive)
public I importFrom(InputStream stream) throws ArchiveImportException
Archive. It remains the responsibility of the caller to close the stream.importFrom in interface StreamImporter<I extends StreamImporter<I>>stream - the stream to import; should be a raw type, not wrapped in any implementation-specific encoding (ie.
FileInputStream is appropriate, but ZipInputStream or GZIPInputStream is not).ArchiveImportException - If an error occurred during the import processStreamImporter.importFrom(java.io.InputStream)public I importFrom(InputStream stream, Filter<ArchivePath> filter) throws ArchiveImportException
Archive. It remains the responsibility of the caller to close the stream.importFrom in interface StreamImporter<I extends StreamImporter<I>>stream - the stream to import; should be a raw type, not wrapped in any implementation-specific encoding (ie.
FileInputStream is appropriate, but ZipInputStream or GZIPInputStream is not).filter - Filter to match resultArchiveImportException - If an error occurred during the import processStreamImporter.importFrom(java.io.InputStream, Filter)public I importFrom(File file) throws ArchiveImportException
Archive.importFrom in interface StreamImporter<I extends StreamImporter<I>>file - the file to importArchiveImportException - If an error occurred during the import processStreamImporter.importFrom(java.io.File)public I importFrom(File file, Filter<ArchivePath> filter) throws ArchiveImportException
Archive.importFrom in interface StreamImporter<I extends StreamImporter<I>>file - the file to importfilter - Filter to match resultArchiveImportException - If an error occurred during the import processStreamImporter.importFrom(java.io.File, Filter)Copyright © 2024 JBoss by Red Hat. All rights reserved.