public class MetaDataUtils extends Object
Constructor and Description |
---|
MetaDataUtils() |
Modifier and Type | Method and Description |
---|---|
static Map<String,List<String>> |
parseMetaData(org.xmlpull.v1.XmlPullParser parser)
Parses any available meta-data and returns it as a Map of String name/value pairs.
|
static String |
serializeMetaData(Map<String,List<String>> metaData)
Serializes a Map of String name/value pairs into the meta-data XML format.
|
public MetaDataUtils()
public static Map<String,List<String>> parseMetaData(org.xmlpull.v1.XmlPullParser parser) throws org.xmlpull.v1.XmlPullParserException, IOException
parser
- the XML parser positioned at an opening meta-data tag.org.xmlpull.v1.XmlPullParserException
- if an error occurs while parsing the XML.IOException
- if an error occurs while parsing the XML.