public class ManifestUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EOL
The line separator character on this OS
|
static String |
EOL_TOKEN
Embed this token to encode linefeeds in Strings that are placed
in Manifest objects
|
static String |
MAIN_ATTS
The name of the Manifest's main attributes.
|
Modifier and Type | Method and Description |
---|---|
static String |
decode(String input) |
static String |
encode(String input) |
static Map<String,String> |
getMain(Map<String,Map<String,String>> exManifest) |
static Map<String,String> |
normalize(Attributes att)
Convert an Aattributes object into a Map
|
static Map<String,Map<String,String>> |
normalize(Manifest m)
Convert a Manifest into an easier data structure.
|
public static final String EOL_TOKEN
public static final String MAIN_ATTS
public static final String EOL
public static final Map<String,Map<String,String>> normalize(Manifest m)
m
- public static final Map<String,String> normalize(Attributes att)
att
- Copyright © 2019. All rights reserved.