public class PropertiesXMLParser extends Object implements PropertiesParser
PropertiesParser
for Properties
objects in XML.Constructor and Description |
---|
PropertiesXMLParser() |
Modifier and Type | Method and Description |
---|---|
PropertiesFormat |
getFormat()
Returns
PropertiesFormat.XML . |
Properties |
parse(InputStream in)
Parses the data from the supplied
InputStream . |
Properties |
parse(Reader reader)
Parses the data from the supplied
Reader . |
public PropertiesFormat getFormat()
PropertiesFormat.XML
.getFormat
in interface PropertiesParser
public Properties parse(InputStream in) throws IOException
PropertiesParser
InputStream
.parse
in interface PropertiesParser
in
- The InputStream from which to read the data.IOException
- If an I/O error occurred while data was read from the
InputStream.public Properties parse(Reader reader) throws IOException
PropertiesParser
Reader
.parse
in interface PropertiesParser
reader
- The Reader from which to read the data.IOException
- If an I/O error occurred while data was read from the
InputStream.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.