Uses of Class
org.codehaus.plexus.archiver.ArchiverException
Package
Description
-
Uses of ArchiverException in org.codehaus.plexus.archiver
Modifier and TypeMethodDescriptionvoid
AbstractArchiver.addArchivedFileSet
(File archiveFile) void
AbstractArchiver.addArchivedFileSet
(File archiveFile, String prefix) void
AbstractArchiver.addArchivedFileSet
(File archiveFile, String[] includes, String[] excludes) void
AbstractArchiver.addArchivedFileSet
(File archiveFile, String prefix, String[] includes, String[] excludes) void
AbstractArchiver.addArchivedFileSet
(ArchivedFileSet fileSet) void
AbstractArchiver.addArchivedFileSet
(ArchivedFileSet fileSet, Charset charset) void
Archiver.addArchivedFileSet
(File archiveFile) Deprecated.Will go away in next major versionvoid
Archiver.addArchivedFileSet
(File archiveFile, String prefix) Deprecated.Will go away in next major versionvoid
Archiver.addArchivedFileSet
(File archiveFile, String[] includes, String[] excludes) Deprecated.Will go away in next major versionvoid
Archiver.addArchivedFileSet
(File archiveFile, String prefix, String[] includes, String[] excludes) Deprecated.Will go away in next major versionvoid
Archiver.addArchivedFileSet
(ArchivedFileSet fileSet) Adds the given archive file set to the archive.void
Archiver.addArchivedFileSet
(ArchivedFileSet fileSet, Charset charset) Adds the given archive file set to the archive.void
AbstractArchiver.addDirectory
(File directory) void
AbstractArchiver.addDirectory
(File directory, String prefix) void
AbstractArchiver.addDirectory
(File directory, String[] includes, String[] excludes) void
AbstractArchiver.addDirectory
(File directory, String prefix, String[] includes, String[] excludes) void
Archiver.addDirectory
(File directory) Deprecated.Will go away in next major versionvoid
Archiver.addDirectory
(File directory, String prefix) Deprecated.Will go away in next major versionvoid
Archiver.addDirectory
(File directory, String[] includes, String[] excludes) Deprecated.Will go away in next major versionvoid
Archiver.addDirectory
(File directory, String prefix, String[] includes, String[] excludes) Deprecated.Will go away in next major versionvoid
void
void
void
void
AbstractArchiver.addFileSet
(FileSet fileSet) void
Archiver.addFileSet
(FileSet fileSet) Adds the given file set to the archive.void
AbstractArchiver.addResource
(org.codehaus.plexus.components.io.resources.PlexusIoResource resource, String destFileName, int permissions) void
Archiver.addResource
(org.codehaus.plexus.components.io.resources.PlexusIoResource resource, String destFileName, int permissions) Adds the given resource collection to the archive.void
AbstractArchiver.addResources
(org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection collection) Adds a resource collection to the archive.void
Archiver.addResources
(org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection resources) Adds the given resource collection to the archive.void
AbstractArchiver.addSymlink
(String symlinkName, int permissions, String symlinkDestination) void
AbstractArchiver.addSymlink
(String symlinkName, String symlinkDestination) void
Archiver.addSymlink
(String symlinkName, int permissions, String symlinkDestination) void
Archiver.addSymlink
(String symlinkName, String symlinkDestination) protected ArchiveEntry
AbstractArchiver.asArchiveEntry
(org.codehaus.plexus.components.io.resources.PlexusIoResource resource, String destFileName, int permissions, org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection collection) protected org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection
AbstractArchiver.asResourceCollection
(ArchivedFileSet fileSet, Charset charset) protected boolean
AbstractArchiver.checkForced()
final void
AbstractArchiver.createArchive()
void
Archiver.createArchive()
static ArchiveEntry
ArchiveEntry.createDirectoryEntry
(String target, File file, int permissions, int defaultDirMode1) static ArchiveEntry
ArchiveEntry.createDirectoryEntry
(String target, org.codehaus.plexus.components.io.resources.PlexusIoResource resource, int permissions, int defaultDirectoryPermissions) static ArchiveEntry
ArchiveEntry.createFileEntry
(String target, File file, int permissions, int defaultDirectoryPermissions) static ArchiveEntry
ArchiveEntry.createFileEntry
(String target, org.codehaus.plexus.components.io.resources.PlexusIoResource resource, int permissions, org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection collection, int defaultDirectoryPermissions) protected abstract void
AbstractArchiver.execute()
protected abstract void
AbstractUnArchiver.execute()
protected abstract void
final void
AbstractUnArchiver.extract()
final void
void
UnArchiver.extract()
Extract the archive.void
Take a path into the archive and extract it to the specified directory.protected void
AbstractUnArchiver.extractFile
(File srcF, File dir, InputStream compressedInputStream, String entryName, Date entryDate, boolean isDirectory, Integer mode, String symlinkDestination, org.codehaus.plexus.components.io.filemappers.FileMapper[] fileMappers) void
AbstractArchiveFinalizer.finalizeArchiveCreation
(Archiver archiver) void
ArchiveFinalizer.finalizeArchiveCreation
(Archiver archiver) void
DotDirectiveArchiveFinalizer.finalizeArchiveCreation
(Archiver archiver) void
AbstractArchiveFinalizer.finalizeArchiveExtraction
(UnArchiver unarchiver) void
ArchiveFinalizer.finalizeArchiveExtraction
(UnArchiver unarchiver) AbstractArchiver.getResources()
Archiver.getResources()
Returns an iterator over instances ofArchiveEntry
, which have previously been added by calls toArchiver.addResources(PlexusIoResourceCollection)
,Archiver.addResource(PlexusIoResource, String, int)
,Archiver.addFileSet(FileSet)
, etc.protected boolean
AbstractUnArchiver.isSelected
(String fileName, org.codehaus.plexus.components.io.resources.PlexusIoResource fileInfo) protected boolean
AbstractArchiver.isUptodate()
protected void
AbstractArchiver.postCreateArchive()
This method is called after the archive creation completes successfully (no exceptions are thrown).protected void
AbstractArchiver.runArchiveFinalizers()
protected void
AbstractArchiver.validate()
protected void
AbstractUnArchiver.validate()
-
Uses of ArchiverException in org.codehaus.plexus.archiver.bzip2
Modifier and TypeMethodDescriptionvoid
BZip2Compressor.compress()
perform the BZip2 compression operation.void
BZip2Archiver.execute()
protected void
BZip2UnArchiver.execute()
static org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
BZip2UnArchiver.getBZip2InputStream
(InputStream bis) -
Uses of ArchiverException in org.codehaus.plexus.archiver.diags
Modifier and TypeMethodDescriptionvoid
DelgatingArchiver.addArchivedFileSet
(File archiveFile) void
DelgatingArchiver.addArchivedFileSet
(File archiveFile, String prefix) Deprecated.void
DelgatingArchiver.addArchivedFileSet
(File archiveFile, String[] includes, String[] excludes) void
DelgatingArchiver.addArchivedFileSet
(File archiveFile, String prefix, String[] includes, String[] excludes) void
DelgatingArchiver.addArchivedFileSet
(ArchivedFileSet fileSet) void
DelgatingArchiver.addArchivedFileSet
(ArchivedFileSet fileSet, Charset charset) void
DryRunArchiver.addArchivedFileSet
(File archiveFile) Obsolete, useArchiver.addArchivedFileSet(ArchivedFileSet)
.void
DryRunArchiver.addArchivedFileSet
(File archiveFile, String prefix) Obsolete, useArchiver.addArchivedFileSet(ArchivedFileSet)
.void
DryRunArchiver.addArchivedFileSet
(File archiveFile, String[] includes, String[] excludes) Obsolete, useArchiver.addArchivedFileSet(ArchivedFileSet)
.void
DryRunArchiver.addArchivedFileSet
(ArchivedFileSet fileSet) Adds the given archive file set to the archive.void
DryRunArchiver.addArchivedFileSet
(ArchivedFileSet fileSet, Charset charset) void
NoOpArchiver.addArchivedFileSet
(File archiveFile) void
NoOpArchiver.addArchivedFileSet
(File archiveFile, String prefix) void
NoOpArchiver.addArchivedFileSet
(File archiveFile, String[] includes, String[] excludes) void
NoOpArchiver.addArchivedFileSet
(File archiveFile, String prefix, String[] includes, String[] excludes) void
NoOpArchiver.addArchivedFileSet
(ArchivedFileSet fileSet) void
NoOpArchiver.addArchivedFileSet
(ArchivedFileSet fileSet, Charset charset) void
TrackingArchiver.addArchivedFileSet
(File archiveFile) void
TrackingArchiver.addArchivedFileSet
(File archiveFile, String prefix) void
TrackingArchiver.addArchivedFileSet
(File archiveFile, String[] includes, String[] excludes) void
TrackingArchiver.addArchivedFileSet
(File archiveFile, String prefix, String[] includes, String[] excludes) void
TrackingArchiver.addArchivedFileSet
(ArchivedFileSet fileSet) void
TrackingArchiver.addArchivedFileSet
(ArchivedFileSet fileSet, Charset charset) void
DelgatingArchiver.addDirectory
(File directory) Deprecated.void
DelgatingArchiver.addDirectory
(File directory, String prefix) Deprecated.void
DelgatingArchiver.addDirectory
(File directory, String[] includes, String[] excludes) Deprecated.void
DelgatingArchiver.addDirectory
(File directory, String prefix, String[] includes, String[] excludes) void
DryRunArchiver.addDirectory
(File directory) Obsolete, useArchiver.addFileSet(FileSet)
.void
DryRunArchiver.addDirectory
(File directory, String prefix) Obsolete, useArchiver.addFileSet(FileSet)
.void
DryRunArchiver.addDirectory
(File directory, String[] includes, String[] excludes) Obsolete, useArchiver.addFileSet(FileSet)
.void
DryRunArchiver.addDirectory
(File directory, String prefix, String[] includes, String[] excludes) Obsolete, useArchiver.addFileSet(FileSet)
.void
NoOpArchiver.addDirectory
(File directory) void
NoOpArchiver.addDirectory
(File directory, String prefix) void
NoOpArchiver.addDirectory
(File directory, String[] includes, String[] excludes) void
NoOpArchiver.addDirectory
(File directory, String prefix, String[] includes, String[] excludes) void
TrackingArchiver.addDirectory
(File directory) void
TrackingArchiver.addDirectory
(File directory, String prefix) void
TrackingArchiver.addDirectory
(File directory, String[] includes, String[] excludes) void
TrackingArchiver.addDirectory
(File directory, String prefix, String[] includes, String[] excludes) void
void
void
void
void
void
void
void
void
DelgatingArchiver.addFileSet
(FileSet fileSet) void
DryRunArchiver.addFileSet
(FileSet fileSet) Adds the given file set to the archive.void
NoOpArchiver.addFileSet
(FileSet fileSet) void
TrackingArchiver.addFileSet
(FileSet fileSet) void
DelgatingArchiver.addResource
(org.codehaus.plexus.components.io.resources.PlexusIoResource resource, String destFileName, int permissions) void
DryRunArchiver.addResource
(org.codehaus.plexus.components.io.resources.PlexusIoResource resource, String destFileName, int permissions) void
NoOpArchiver.addResource
(org.codehaus.plexus.components.io.resources.PlexusIoResource resource, String destFileName, int permissions) void
TrackingArchiver.addResource
(org.codehaus.plexus.components.io.resources.PlexusIoResource resource, String destFileName, int permissions) void
DelgatingArchiver.addResources
(org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection resources) void
DryRunArchiver.addResources
(org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection resources) void
NoOpArchiver.addResources
(org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection resources) void
TrackingArchiver.addResources
(org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection resources) void
DelgatingArchiver.addSymlink
(String symlinkName, int permissions, String symlinkDestination) void
DelgatingArchiver.addSymlink
(String symlinkName, String symlinkDestination) void
DryRunArchiver.addSymlink
(String symlinkName, int permissions, String symlinkDestination) void
DryRunArchiver.addSymlink
(String symlinkName, String symlinkDestination) void
NoOpArchiver.addSymlink
(String symlinkName, int permissions, String symlinkDestination) void
NoOpArchiver.addSymlink
(String symlinkName, String symlinkDestination) void
TrackingArchiver.addSymlink
(String s, int i, String s2) void
TrackingArchiver.addSymlink
(String s, String s2) void
DelgatingArchiver.createArchive()
void
DryRunArchiver.createArchive()
void
NoOpArchiver.createArchive()
void
TrackingArchiver.createArchive()
DelgatingArchiver.getResources()
NoOpArchiver.getResources()
TrackingArchiver.getResources()
-
Uses of ArchiverException in org.codehaus.plexus.archiver.dir
Modifier and TypeMethodDescriptionprotected void
DirectoryArchiver.copyFile
(ArchiveEntry entry, String vPath) Copies the specified file to the specified path, creating any ancestor directory structure as necessary.void
DirectoryArchiver.execute()
-
Uses of ArchiverException in org.codehaus.plexus.archiver.ear
Modifier and TypeMethodDescriptionvoid
EarArchiver.addArchive
(File fileName) Adds archive.void
EarArchiver.addArchives
(File directoryName, String[] includes, String[] excludes) Adds archives.protected void
EarArchiver.initZipOutputStream
(ConcurrentJarCreator zOut) void
File to incorporate as application.xml.protected void
EarArchiver.zipFile
(ArchiveEntry entry, ConcurrentJarCreator zOut, String vPath, int mode) Overridden from ZipArchiver class to deal with application.xml -
Uses of ArchiverException in org.codehaus.plexus.archiver.exceptions
-
Uses of ArchiverException in org.codehaus.plexus.archiver.gzip
-
Uses of ArchiverException in org.codehaus.plexus.archiver.jar
Modifier and TypeMethodDescriptionprotected boolean
JarArchiver.createEmptyZip
(File zipFile) protected Manifest
JarArchiver.createManifest()
Creates the manifest to be added to the JAR archive.protected void
JarArchiver.finalizeZipOutputStream
(ConcurrentJarCreator zOut) static Manifest
Manifest.getDefaultManifest()
static Manifest
Manifest.getDefaultManifest
(boolean minimalDefaultManifest) Construct a manifest from Ant's default manifest file.protected void
JarArchiver.initZipOutputStream
(ConcurrentJarCreator zOut) protected void
JarToolModularJarArchiver.postCreateArchive()
void
JarArchiver.setManifest
(File manifestFile) The manifest file to use.protected void
JarArchiver.zipFile
(org.apache.commons.compress.parallel.InputStreamSupplier is, ConcurrentJarCreator zOut, String vPath, long lastModified, File fromArchive, int mode, String symlinkDestination, boolean addInParallel) Overridden from Zip class to deal with manifests and index lists.protected void
JarToolModularJarArchiver.zipFile
(org.apache.commons.compress.parallel.InputStreamSupplier is, ConcurrentJarCreator zOut, String vPath, long lastModified, File fromArchive, int mode, String symlinkDestination, boolean addInParallel) -
Uses of ArchiverException in org.codehaus.plexus.archiver.snappy
Modifier and TypeMethodDescriptionvoid
SnappyCompressor.compress()
perform the Snappy compression operation.void
SnappyArchiver.execute()
protected void
SnappyUnArchiver.execute()
static io.airlift.compress.snappy.SnappyFramedInputStream
SnappyUnArchiver.getSnappyInputStream
(InputStream bis) -
Uses of ArchiverException in org.codehaus.plexus.archiver.tar
Modifier and TypeMethodDescriptionprotected void
TarArchiver.execute()
protected void
TarUnArchiver.execute()
protected void
TarUnArchiver.execute
(File sourceFile, File destDirectory, org.codehaus.plexus.components.io.filemappers.FileMapper[] fileMappers) protected void
TarArchiver.tarFile
(ArchiveEntry entry, org.apache.commons.compress.archivers.tar.TarArchiveOutputStream tOut, String vPath) tar a file -
Uses of ArchiverException in org.codehaus.plexus.archiver.util
Modifier and TypeMethodDescriptionstatic void
static void
Deprecated.static void
Deprecated.abstract void
Compressor.close()
subclasses must implement this method to cleanup after compression this is public so the process of compression and closing can be dealt with separately.abstract void
Compressor.compress()
subclasses must implement this method to do their compression this is public so the process of compression and closing can be dealt with separately.static void
Streams.copyFully
(InputStream zIn, OutputStream out, String gzip) static void
Streams.copyFullyDontCloseOutput
(InputStream zIn, OutputStream out, String gzip) static InputStream
Streams.fileInputStream
(File file, String operation) static OutputStream
Streams.fileOutputStream
(File file, String operation) -
Uses of ArchiverException in org.codehaus.plexus.archiver.war
Modifier and TypeMethodDescriptionvoid
add a file under WEB-INF/lib/void
WarArchiver.addClasses
(File directoryName, String[] includes, String[] excludes) add files under WEB-INF/classesvoid
add a file under WEB-INF/lib/void
add files under WEB-INF/lib/void
files to add under WEB-INF;protected void
WarArchiver.initZipOutputStream
(ConcurrentJarCreator zOut) override of parent; validates configuration before initializing the output stream.void
set the deployment descriptor to use (WEB-INF/web.xml); required unlessupdate=true
protected void
WarArchiver.zipFile
(ArchiveEntry entry, ConcurrentJarCreator zOut, String vPath) Overridden from ZipArchiver class to deal with web.xml -
Uses of ArchiverException in org.codehaus.plexus.archiver.xz
Modifier and TypeMethodDescriptionvoid
XZCompressor.compress()
protected void
XZArchiver.execute()
protected void
XZUnArchiver.execute()
protected void
static org.apache.commons.compress.compressors.xz.XZCompressorInputStream
XZUnArchiver.getXZInputStream
(InputStream in) -
Uses of ArchiverException in org.codehaus.plexus.archiver.zip
Modifier and TypeMethodDescriptionprotected final void
AbstractZipArchiver.addResources
(ResourceIterator resources, ConcurrentJarCreator zOut) Add the given resources.protected boolean
AbstractZipArchiver.createEmptyZip
(File zipFile) Create an empty zip fileprotected void
AbstractZipArchiver.execute()
protected void
AbstractZipUnArchiver.execute()
protected void
protected void
AbstractZipArchiver.finalizeZipOutputStream
(ConcurrentJarCreator zOut) protected void
AbstractZipArchiver.initZipOutputStream
(ConcurrentJarCreator zOut) method for subclasses to overrideprotected void
AbstractZipArchiver.zipFile
(org.apache.commons.compress.parallel.InputStreamSupplier in, ConcurrentJarCreator zOut, String vPath, long lastModified, File fromArchive, int mode, String symlinkDestination, boolean addInParallel) Adds a new entry to the archive, takes care of duplicates as well.protected void
AbstractZipArchiver.zipFile
(ArchiveEntry entry, ConcurrentJarCreator zOut, String vPath) Method that gets called when adding from java.io.File instances. -
Uses of ArchiverException in org.codehaus.plexus.archiver.zstd
Modifier and TypeMethodDescriptionvoid
ZstdCompressor.compress()
protected void
ZstdArchiver.execute()
protected void
ZstdUnArchiver.execute()
protected void
static org.apache.commons.compress.compressors.zstandard.ZstdCompressorInputStream
ZstdUnArchiver.getZstdInputStream
(InputStream in) void
Set compression level