public class PropertiesTextParser extends Object implements PropertiesParser
PropertiesParser for Properties objects in the text
listing format.| Constructor and Description |
|---|
PropertiesTextParser() |
| Modifier and Type | Method and Description |
|---|---|
PropertiesFormat |
getFormat()
Returns
PropertiesFormat.TEXT. |
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.TEXT.getFormat in interface PropertiesParserpublic Properties parse(InputStream in) throws IOException
PropertiesParserInputStream.parse in interface PropertiesParserin - 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
PropertiesParserReader.parse in interface PropertiesParserreader - 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.