public class ManifestParser
extends java.lang.Object
| Constructor and Description |
|---|
ManifestParser() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
formatLines(java.lang.String manifest)
Ensure that the lines are not longer than 72 characters, so it can be parsed by the
Manifest class |
static BundleInfo |
parseJarManifest(java.io.InputStream jarStream) |
static BundleInfo |
parseManifest(java.io.File manifestFile) |
static BundleInfo |
parseManifest(java.io.InputStream manifestStream) |
static BundleInfo |
parseManifest(java.util.jar.Manifest manifest) |
static BundleInfo |
parseManifest(java.lang.String manifest) |
public static BundleInfo parseJarManifest(java.io.InputStream jarStream) throws java.io.IOException, java.text.ParseException
java.io.IOExceptionjava.text.ParseExceptionpublic static BundleInfo parseManifest(java.io.File manifestFile) throws java.io.IOException, java.text.ParseException
java.io.IOExceptionjava.text.ParseExceptionpublic static BundleInfo parseManifest(java.lang.String manifest) throws java.io.IOException, java.text.ParseException
java.io.IOExceptionjava.text.ParseExceptionpublic static BundleInfo parseManifest(java.io.InputStream manifestStream) throws java.io.IOException, java.text.ParseException
java.io.IOExceptionjava.text.ParseExceptionpublic static BundleInfo parseManifest(java.util.jar.Manifest manifest) throws java.text.ParseException
java.text.ParseExceptionpublic static java.lang.String formatLines(java.lang.String manifest)
Manifest classmanifest -