public class PropertiesParser extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
concurrent |
int |
OPTION_FILE_BACKED_IMPL |
int |
OPTION_LIST_BACKED_IMPL |
(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)
Use OPTION_LIST_BACKED_IMPL to get a List backed properties implementation.
|
PropertiesParser(LineScanner scanner,
int options)
Use OPTION_LIST_BACKED_IMPL to get a List backed properties implementation.
|
| Modifier and Type | Method and Description |
|---|---|
Properties |
getProperties() |
PropertiesParser |
parse()
populates a PropertiesImpl object.
|
PropertiesParser |
parse(Comparator<CharSequence> comparator)
Use this constructor to get a SortedPropertiesImpl (which only makes sense if you need something
other than insert-order ordering)
|
void |
setConcurrent(boolean concurrent) |
public final int OPTION_LIST_BACKED_IMPL
public final int OPTION_FILE_BACKED_IMPL
final LineScanner scanner
Properties props
boolean concurrent
int options
public PropertiesParser(LineScanner scanner)
public PropertiesParser(LineScanner scanner, int options)
scanner - options - public PropertiesParser(LineScanner scanner, boolean concurrent, int options)
scanner - options - public void setConcurrent(boolean concurrent)
public PropertiesParser parse(Comparator<CharSequence> comparator)
comparator - public PropertiesParser parse()
public Properties getProperties()
Copyright © 2011–2018 David R. Smith. All rights reserved.