public class PropertiesStreamingLexer extends Object
This lexer uses the LineScanner to build a list of tokens suitable for use by PropertiesParser. Scan a properties file conforming to the description at http://download.oracle.com/javase/6/docs/api/java/util/Properties.html#load(java.io.Reader) into tokens. There is one additional extension: a comment line which starts with #;; is treated as transient (not read in). This can be used later to generate a transient header and footer
| Modifier and Type | Field and Description |
|---|---|
(package private) List<PropertiesToken> |
list |
(package private) LineScanner |
scanner |
| Constructor and Description |
|---|
PropertiesStreamingLexer(InputStream in) |
PropertiesStreamingLexer(Reader in) |
final LineScanner scanner
final List<PropertiesToken> list
public PropertiesStreamingLexer(Reader in)
public PropertiesStreamingLexer(InputStream in)
public void lex()
public List<PropertiesToken> getList()
Copyright © 2011-2014 David R. Smith. All Rights Reserved.