Package org.codehaus.plexus.archiver.tar
Class PlexusIoTarFileResourceCollection
java.lang.Object
org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceCollection
org.codehaus.plexus.components.io.resources.AbstractPlexusIoArchiveResourceCollection
org.codehaus.plexus.archiver.tar.PlexusIoTarFileResourceCollection
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<org.codehaus.plexus.components.io.resources.PlexusIoResource>
,org.codehaus.plexus.components.io.resources.PlexusIoArchivedResourceCollection
,org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection
- Direct Known Subclasses:
PlexusIoTarBZip2FileResourceCollection
,PlexusIoTarGZipFileResourceCollection
,PlexusIoTarSnappyFileResourceCollection
,PlexusIoTarXZFileResourceCollection
,PlexusIoTarZstdFileResourceCollection
@Named("tar")
public class PlexusIoTarFileResourceCollection
extends org.codehaus.plexus.components.io.resources.AbstractPlexusIoArchiveResourceCollection
implements Closeable
-
Field Summary
Fields inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceCollection
identityTransformer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected Iterator
<org.codehaus.plexus.components.io.resources.PlexusIoResource> boolean
protected TarFile
newTarFile
(File file) Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoArchiveResourceCollection
getFile, getLastModified, getResources, setFile, stream
Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceCollection
getExcludes, getFileMappers, getFileSelectors, getIncludes, getInputStream, getName, getName, getPrefix, getStreamTransformer, isCaseSensitive, isIncludingEmptyDirectories, isSelected, isUsingDefaultExcludes, iterator, resolve, setCaseSensitive, setExcludes, setFileMappers, setFileSelectors, setIncludes, setIncludingEmptyDirectories, setPrefix, setStreamTransformer, setUsingDefaultExcludes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection
getInputStream, getName, resolve
-
Constructor Details
-
PlexusIoTarFileResourceCollection
public PlexusIoTarFileResourceCollection()
-
-
Method Details
-
newTarFile
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
isConcurrentAccessSupported
public boolean isConcurrentAccessSupported()- Specified by:
isConcurrentAccessSupported
in interfaceorg.codehaus.plexus.components.io.resources.PlexusIoResourceCollection
-
getEntries
protected Iterator<org.codehaus.plexus.components.io.resources.PlexusIoResource> getEntries() throws IOException- Specified by:
getEntries
in classorg.codehaus.plexus.components.io.resources.AbstractPlexusIoArchiveResourceCollection
- Throws:
IOException
-