public class JarToSrampArchive extends Object
| Constructor and Description |
|---|
JarToSrampArchive(File jar)
Constructor.
|
JarToSrampArchive(InputStream jarStream)
Constructor from JAR input stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This object should be closed once we're done with it.
|
static void |
closeQuietly(JarToSrampArchive j2sramp) |
SrampArchive |
createSrampArchive()
Creates an S-RAMP archive from this JAR.
|
void |
setArtifactFilter(ArtifactFilter artifactFilter) |
void |
setMetaDataFactory(MetaDataFactory metaDataFactory) |
public JarToSrampArchive(File jar) throws JarToSrampArchiveException
jar - JarToSrampArchiveExceptionpublic JarToSrampArchive(InputStream jarStream) throws JarToSrampArchiveException
InputStream.jarStream - JarToSrampArchiveExceptionpublic SrampArchive createSrampArchive() throws JarToSrampArchiveException
JarToSrampArchiveExceptionpublic void close()
throws IOException
IOExceptionpublic void setArtifactFilter(ArtifactFilter artifactFilter)
artifactFilter - the artifactFilter to setpublic void setMetaDataFactory(MetaDataFactory metaDataFactory)
metaDataFactory - the metaDataFactory to setpublic static void closeQuietly(JarToSrampArchive j2sramp)
j2sramp - Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.