asia.redact.bracket.properties
Class PropertiesParser2

java.lang.Object
  extended by asia.redact.bracket.properties.PropertiesParser2

public class PropertiesParser2
extends Object

Use the line scanner to load a Properties implementation. This class does not use PropertiesToken, it is intended for low memory situations or for large properties files, where it ought to perform a bit better. It may actually be faster than the other implementations and is certainly more robust.

Author:
Dave

Field Summary
(package private)  Properties props
           
(package private)  LineScanner scanner
           
 
Constructor Summary
PropertiesParser2(LineScanner scanner)
           
PropertiesParser2(LineScanner scanner, Properties props)
           
 
Method Summary
 Properties getProperties()
           
 void parse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scanner

final LineScanner scanner

props

final Properties props
Constructor Detail

PropertiesParser2

public PropertiesParser2(LineScanner scanner)

PropertiesParser2

public PropertiesParser2(LineScanner scanner,
                         Properties props)
Method Detail

parse

public void parse()

getProperties

public Properties getProperties()


Copyright © 2011-2013 David R. Smith. All Rights Reserved.