public abstract class ZipToSrampArchive extends Object
| Constructor and Description |
|---|
ZipToSrampArchive(File jar)
Constructor.
|
ZipToSrampArchive(InputStream jarStream)
Constructor from JAR input stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMetaDataProvider(MetaDataProvider metaDataProvider) |
void |
close()
This object should be closed once we're done with it.
|
static void |
closeQuietly(ZipToSrampArchive j2sramp) |
SrampArchive |
createSrampArchive()
Creates an S-RAMP archive from this JAR.
|
ArtifactFilter |
getArtifactFilter() |
MetaDataFactory |
getMetaDataFactory() |
void |
setArtifactFilter(ArtifactFilter artifactFilter) |
void |
setContextParam(String name,
Object value)
Sets a context parameter.
|
void |
setMetaDataFactory(MetaDataFactory metaDataFactory) |
public ZipToSrampArchive(File jar) throws ZipToSrampArchiveException
jar - ZipToSrampArchiveExceptionpublic ZipToSrampArchive(InputStream jarStream) throws ZipToSrampArchiveException
InputStream.jarStream - ZipToSrampArchiveExceptionpublic void setContextParam(String name, Object value)
name - value - public SrampArchive createSrampArchive() throws ZipToSrampArchiveException
ZipToSrampArchiveExceptionpublic void close()
throws IOException
IOExceptionpublic void setArtifactFilter(ArtifactFilter artifactFilter)
artifactFilter - the artifactFilter to setpublic ArtifactFilter getArtifactFilter()
public void setMetaDataFactory(MetaDataFactory metaDataFactory)
metaDataFactory - the metaDataFactory to setpublic void addMetaDataProvider(MetaDataProvider metaDataProvider)
metaDataProvider - public MetaDataFactory getMetaDataFactory()
public static void closeQuietly(ZipToSrampArchive j2sramp)
j2sramp - Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.