Package nz.org.riskscape.ini
Class IniParser2
java.lang.Object
nz.org.riskscape.ini.IniParser2
Parses an ini file in to an AST using RiskScape's DSL parsing code. This implementation will improve over ini4j in the following ways:
- [x] Preserves absolute key-value ordering. The wizard would have been easier to implement if we'd had this (and still might be in the future?) *
- [x] Preserve location information, e.g. bad value at line 12
- [x] Multi-line string support
- [ ] Whitespace preserving modifications - if we ever want to write out ini after modifying it, using the dsl framework is going to make it a lot easier to preserve the original author's whitespace formatting and comments.
- [ ] Keyword support?
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IniParser2
public IniParser2()
-
-
Method Details
-
parse
-