org.apache.felix.ipojo.manipulator.manifest
Class FileManifestProvider
java.lang.Object
org.apache.felix.ipojo.manipulator.manifest.FileManifestProvider
- All Implemented Interfaces:
- ManifestProvider
public class FileManifestProvider
- extends Object
- implements ManifestProvider
A FileManifestProvider reads a Manifest from the given input File.
- Author:
- Felix Project Team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileManifestProvider
public FileManifestProvider(File resource)
throws IOException
- Read the manifest from the given input file
- Parameters:
resource - File pointing to a Manifest file
- Throws:
IOException - if there is an error during File IO operations
or if the file is not a valid manifest.
getManifest
public Manifest getManifest()
- Description copied from interface:
ManifestProvider
- Returns the original bundle's Manifest.
- Specified by:
getManifest in interface ManifestProvider
- Returns:
- Manifest of the bundle
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.