Class TarArchiveInputStreamScannerPlugin
java.lang.Object
com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<I,D>
com.buschmais.jqassistant.plugin.common.api.scanner.AbstractResourceScannerPlugin<I,D>
com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContainerScannerPlugin<S,E,D>
com.buschmais.jqassistant.plugin.common.impl.scanner.AbstractArchiveInputStreamScannerPlugin<org.apache.commons.compress.archivers.tar.TarArchiveInputStream,org.apache.commons.compress.archivers.tar.TarArchiveEntry,TarArchiveDescriptor>
com.buschmais.jqassistant.plugin.common.impl.scanner.TarArchiveInputStreamScannerPlugin
- All Implemented Interfaces:
ScannerPlugin<org.apache.commons.compress.archivers.tar.TarArchiveInputStream,,TarArchiveDescriptor> com.buschmais.jqassistant.core.shared.lifecycle.ContextualConfigurableLifecycleAware<ScannerContext,,Map<String, Object>> com.buschmais.jqassistant.core.shared.lifecycle.LifecycleAware
public class TarArchiveInputStreamScannerPlugin
extends AbstractArchiveInputStreamScannerPlugin<org.apache.commons.compress.archivers.tar.TarArchiveInputStream,org.apache.commons.compress.archivers.tar.TarArchiveEntry,TarArchiveDescriptor>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.buschmais.jqassistant.core.scanner.api.ScannerPlugin
ScannerPlugin.Requires -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TarArchiveDescriptorgetContainerDescriptor(org.apache.commons.compress.archivers.tar.TarArchiveInputStream item, ScannerContext scannerContext) Return the descriptor representing the artifact.protected org.apache.commons.compress.archivers.tar.TarArchiveEntrygetNextEntry(org.apache.commons.compress.archivers.tar.TarArchiveInputStream container) Class<? extends org.apache.commons.compress.archivers.tar.TarArchiveInputStream>getType()Methods inherited from class com.buschmais.jqassistant.plugin.common.impl.scanner.AbstractArchiveInputStreamScannerPlugin
accepts, enterContainer, getContainerPath, getEntries, getEntry, getRelativePath, leaveContainerMethods inherited from class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContainerScannerPlugin
scanMethods inherited from class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin
configure, configure, equals, getBooleanProperty, getDirectoryPath, getName, getProperties, getProperty, getScannerContext, getStringProperty, getTypeParameter, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.buschmais.jqassistant.core.scanner.api.ScannerPlugin
destroy, initialize
-
Constructor Details
-
TarArchiveInputStreamScannerPlugin
public TarArchiveInputStreamScannerPlugin()
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceScannerPlugin<org.apache.commons.compress.archivers.tar.TarArchiveInputStream,TarArchiveDescriptor> - Overrides:
getTypein classAbstractResourceScannerPlugin<org.apache.commons.compress.archivers.tar.TarArchiveInputStream,TarArchiveDescriptor>
-
getDescriptorType
- Specified by:
getDescriptorTypein interfaceScannerPlugin<org.apache.commons.compress.archivers.tar.TarArchiveInputStream,TarArchiveDescriptor> - Overrides:
getDescriptorTypein classAbstractResourceScannerPlugin<org.apache.commons.compress.archivers.tar.TarArchiveInputStream,TarArchiveDescriptor>
-
getContainerDescriptor
protected TarArchiveDescriptor getContainerDescriptor(org.apache.commons.compress.archivers.tar.TarArchiveInputStream item, ScannerContext scannerContext) Description copied from class:AbstractContainerScannerPluginReturn the descriptor representing the artifact.- Specified by:
getContainerDescriptorin classAbstractContainerScannerPlugin<org.apache.commons.compress.archivers.tar.TarArchiveInputStream,org.apache.commons.compress.archivers.tar.TarArchiveEntry, TarArchiveDescriptor> - Parameters:
item- The container.scannerContext- The scanner context.- Returns:
- The artifact descriptor.
-
getNextEntry
protected org.apache.commons.compress.archivers.tar.TarArchiveEntry getNextEntry(org.apache.commons.compress.archivers.tar.TarArchiveInputStream container) throws IOException - Specified by:
getNextEntryin classAbstractArchiveInputStreamScannerPlugin<org.apache.commons.compress.archivers.tar.TarArchiveInputStream,org.apache.commons.compress.archivers.tar.TarArchiveEntry, TarArchiveDescriptor> - Throws:
IOException
-