public interface ZipToSrampArchiveProvider
ZipToSrampArchive for specific artifact types.| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.overlord.sramp.common.ArtifactType artifactType)
Returns true if this provider is capable of providing an expander for the given artifact type.
|
ZipToSrampArchive |
createExtractor(org.overlord.sramp.common.ArtifactType artifactType,
File zipFile)
Creates a
ZipToSrampArchive expander for the given artifact type and zip content. |
ZipToSrampArchive |
createExtractor(org.overlord.sramp.common.ArtifactType artifactType,
InputStream zipStream)
Creates a
ZipToSrampArchive expander for the given artifact type and zip content. |
TypeHintInfo |
getArchiveTypeHints()
Returns TypeHintInfo datastructure, which contains a list of path entries,
which can be used to determine the type of archive.
|
boolean accept(org.overlord.sramp.common.ArtifactType artifactType)
artifactType - ZipToSrampArchive createExtractor(org.overlord.sramp.common.ArtifactType artifactType, File zipFile) throws ZipToSrampArchiveException
ZipToSrampArchive expander for the given artifact type and zip content.artifactType - zipFile - ZipToSrampArchiveExceptionZipToSrampArchive createExtractor(org.overlord.sramp.common.ArtifactType artifactType, InputStream zipStream) throws ZipToSrampArchiveException
ZipToSrampArchive expander for the given artifact type and zip content.artifactType - zipStream - ZipToSrampArchiveExceptionTypeHintInfo getArchiveTypeHints()
Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.