org.apache.aries.web.converter.impl
Class WarToWabConverterImpl

java.lang.Object
  extended by org.apache.aries.web.converter.impl.WarToWabConverterImpl
All Implemented Interfaces:
WabConversion

public class WarToWabConverterImpl
extends Object
implements WabConversion


Constructor Summary
WarToWabConverterImpl(WarToWabConverter.InputStreamProvider warFile, String name, CaseInsensitiveMap properties)
           
WarToWabConverterImpl(WarToWabConverter.InputStreamProvider warFile, String name, Properties properties)
           
 
Method Summary
 InputStream getWAB()
           
 int getWabLength()
           
 Manifest getWABManifest()
           
protected  Manifest updateBundleManifest(Manifest manifest)
           
protected  Manifest updateManifest(Manifest manifest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarToWabConverterImpl

public WarToWabConverterImpl(WarToWabConverter.InputStreamProvider warFile,
                             String name,
                             Properties properties)
                      throws IOException
Throws:
IOException

WarToWabConverterImpl

public WarToWabConverterImpl(WarToWabConverter.InputStreamProvider warFile,
                             String name,
                             CaseInsensitiveMap properties)
                      throws IOException
Throws:
IOException
Method Detail

updateBundleManifest

protected Manifest updateBundleManifest(Manifest manifest)
                                 throws IOException
Throws:
IOException

updateManifest

protected Manifest updateManifest(Manifest manifest)
                           throws IOException
Throws:
IOException

getWAB

public InputStream getWAB()
                   throws IOException
Specified by:
getWAB in interface WabConversion
Returns:
The InputStream to read the bytes of the converted WAB
Throws:
IOException

getWABManifest

public Manifest getWABManifest()
                        throws IOException
Specified by:
getWABManifest in interface WabConversion
Returns:
The WAB Manifest of the converted WAB
Throws:
IOException

getWabLength

public int getWabLength()
                 throws IOException
Throws:
IOException


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.