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 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.