org.eclipse.osgi.baseadaptor.hooks
Interface BundleFileFactoryHook


public interface BundleFileFactoryHook

A factory that creates bundle file objects.

Since:
3.2
See Also:
BaseAdaptor.createBundleFile(Object, BaseData)

Method Summary
 BundleFile createBundleFile(Object content, BaseData data, boolean base)
          Creates a bundle file for the given content and base data.
 

Method Detail

createBundleFile

BundleFile createBundleFile(Object content,
                            BaseData data,
                            boolean base)
                            throws IOException
Creates a bundle file for the given content and base data.

Parameters:
content - The object which contains the content of a bundle file.
data - The base data associated with the content
base - true if the content is for the base bundle (not an inner jar, directory etc.)
Returns:
a new bundle file for the specified content, or null if this factory cannot create a bundle file for the specified content.
Throws:
IOException - if an IO error occurs


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.