public class PropertiesParser extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
concurrent |
(package private) int |
options |
(package private) Properties |
props |
(package private) LineScanner |
scanner |
| Constructor and Description |
|---|
PropertiesParser(LineScanner scanner) |
PropertiesParser(LineScanner scanner,
boolean concurrent,
int options) |
PropertiesParser(LineScanner scanner,
int options) |
| Modifier and Type | Method and Description |
|---|---|
Properties |
getProperties() |
PropertiesParser |
parse()
populates a PropertiesImpl object.
|
PropertiesParser |
parse(Comparator<String> comparator)
populates a SortedPropertiesImpl (which only makes sense if you need something other than insert-order ordering)
|
void |
setConcurrent(boolean concurrent) |
final LineScanner scanner
Properties props
boolean concurrent
int options
public PropertiesParser(LineScanner scanner)
public PropertiesParser(LineScanner scanner, int options)
public PropertiesParser(LineScanner scanner, boolean concurrent, int options)
public void setConcurrent(boolean concurrent)
public PropertiesParser parse(Comparator<String> comparator)
comparator - public PropertiesParser parse()
public Properties getProperties()
Copyright © 2011–2016 David R. Smith. All rights reserved.