Class ManifestParser
java.lang.Object
org.apache.ivy.osgi.core.ManifestParser
Provides an OSGi manifest parser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatLines(String manifest) Ensure that the lines are not longer than 72 characters, so it can be parsed by theManifestclassstatic BundleInfoparseJarManifest(InputStream jarStream) static BundleInfoparseManifest(File manifestFile) static BundleInfoparseManifest(InputStream manifestStream) static BundleInfoparseManifest(String manifest) static BundleInfoparseManifest(Manifest manifest)
-
Constructor Details
-
ManifestParser
public ManifestParser()
-
-
Method Details
-
parseJarManifest
- Throws:
IOExceptionParseException
-
parseManifest
- Throws:
IOExceptionParseException
-
parseManifest
- Throws:
IOExceptionParseException
-
parseManifest
public static BundleInfo parseManifest(InputStream manifestStream) throws IOException, ParseException - Throws:
IOExceptionParseException
-
parseManifest
- Throws:
ParseException
-
formatLines
-