public class ManifestHeader extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ManifestHeader.Entry
A header can have several entries separated by comma.
|
static class |
ManifestHeader.NameValuePair
Directives and attributes are simple name/value pairs.
|
protected static class |
ManifestHeader.PathImpl |
Constructor and Description |
---|
ManifestHeader() |
Modifier and Type | Method and Description |
---|---|
ManifestHeader.Entry[] |
getEntries() |
static ManifestHeader |
parse(String header)
Parse headers
Like this: path; path; dir1:=dirval1; dir2:=dirval2; attr1=attrval1; attr2=attrval2,
path; path; dir1:=dirval1; dir2:=dirval2; attr1=attrval1; attr2=attrval2
The returned object maintains the order of entries (paths), directives and attributes.
|
public ManifestHeader.Entry[] getEntries()
public static ManifestHeader parse(String header)
header
- Header nameCopyright © 2015 The Apache Software Foundation. All rights reserved.