public class PropertiesParser2 extends Object
Use the line scanner to load a Properties implementation. This class does not use PropertiesToken, it is a "streaming" parser which reads the tokens from the line and parses as it reads. It is intended for low memory situations or for very large properties files, where it ought to perform a bit better.
| Modifier and Type | Field and Description |
|---|---|
private Lock |
lock |
protected Properties |
props |
protected LineScanner |
scanner |
| Constructor and Description |
|---|
PropertiesParser2(LineScanner scanner) |
PropertiesParser2(LineScanner scanner,
Properties props) |
protected final LineScanner scanner
protected final Properties props
private final Lock lock
public PropertiesParser2(LineScanner scanner)
public PropertiesParser2(LineScanner scanner, Properties props)
public void parse()
public Properties getProperties()
Copyright © 2011-2014 David R. Smith. All Rights Reserved.