public class FileManifestProvider extends java.lang.Object implements ManifestProvider
FileManifestProvider
reads a Manifest
from the given input File
.Constructor and Description |
---|
FileManifestProvider(java.io.File resource)
Read the manifest from the given input file
|
Modifier and Type | Method and Description |
---|---|
java.util.jar.Manifest |
getManifest()
Returns the original bundle's Manifest.
|
public FileManifestProvider(java.io.File resource) throws java.io.IOException
resource
- File pointing to a Manifest filejava.io.IOException
- if there is an error during File IO operations
or if the file is not a valid manifest.public java.util.jar.Manifest getManifest()
ManifestProvider
getManifest
in interface ManifestProvider
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.