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(java.lang.Object content, BaseData data, boolean base)
          Creates a bundle file for the given content and base data.
 

Method Detail

createBundleFile

BundleFile createBundleFile(java.lang.Object content,
                            BaseData data,
                            boolean base)
                            throws java.io.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:
java.io.IOException - if an IO error occurs