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
-
-
Constructor Summary
Constructors Constructor Description PlexusIoTarFileResourceCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected Iterator<org.codehaus.plexus.components.io.resources.PlexusIoResource>
getEntries()
boolean
isConcurrentAccessSupported()
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
-
-
-
-
Method Detail
-
close
public void close() throws IOException
- 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
-
-