asia.redact.bracket.properties
Class PropertiesParser2
java.lang.Object
asia.redact.bracket.properties.PropertiesParser2
- Direct Known Subclasses:
- DotPropertiesParser
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.
- Author:
- Dave
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scanner
protected final LineScanner scanner
props
protected final Properties props
lock
private final Lock lock
PropertiesParser2
public PropertiesParser2(LineScanner scanner)
PropertiesParser2
public PropertiesParser2(LineScanner scanner,
Properties props)
parse
public void parse()
getProperties
public Properties getProperties()
Copyright © 2011-2013 David R. Smith. All Rights Reserved.