public class DefaultArchiverManager extends Object implements ArchiverManager, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
ROLE
Constructor and Description |
---|
DefaultArchiverManager() |
Modifier and Type | Method and Description |
---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
Archiver |
getArchiver(File file) |
Archiver |
getArchiver(String archiverName) |
org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection |
getResourceCollection(File file) |
org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection |
getResourceCollection(String resourceCollectionName) |
UnArchiver |
getUnArchiver(File file) |
UnArchiver |
getUnArchiver(String unArchiverName) |
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
org.codehaus.plexus.context.ContextException
@Nonnull public Archiver getArchiver(@Nonnull String archiverName) throws NoSuchArchiverException
getArchiver
in interface ArchiverManager
NoSuchArchiverException
@Nonnull public UnArchiver getUnArchiver(@Nonnull String unArchiverName) throws NoSuchArchiverException
getUnArchiver
in interface ArchiverManager
NoSuchArchiverException
@Nonnull public org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection getResourceCollection(String resourceCollectionName) throws NoSuchArchiverException
getResourceCollection
in interface ArchiverManager
NoSuchArchiverException
@Nonnull public Archiver getArchiver(@Nonnull File file) throws NoSuchArchiverException
getArchiver
in interface ArchiverManager
NoSuchArchiverException
@Nonnull public UnArchiver getUnArchiver(@Nonnull File file) throws NoSuchArchiverException
getUnArchiver
in interface ArchiverManager
NoSuchArchiverException
@Nonnull public org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection getResourceCollection(@Nonnull File file) throws NoSuchArchiverException
getResourceCollection
in interface ArchiverManager
NoSuchArchiverException
Copyright © 2001–2018 Codehaus Plexus. All rights reserved.