xbn_examples.config
Class XmplConfigReaderFA_ML
java.lang.Object
|
+--xbn.XBNObject
|
+--xbn.programs.XBNStatic
|
+--xbn_examples.config.XmplConfigReaderFA_ML
- public class XmplConfigReaderFA_ML
- extends XBNStatic
Demonstrates ConfigReaderFA, where the variable values in the source text are both single- and multiple-line.
Source code: XmplConfigReaderFA_ML.java
The source text
Each line is surrounded by single quotes (') for clarity. They are not in the actual source text.
'{'
' Multiple'
' line'
' comment'
'}'
''
''
'one= | Value of one\=*this* :' )'
' two= | Value of two |'
''
'#Multiple line value'
'three= v'
' a'
' l'
' u'
' e'
''
' t'
' h'
' r'
' e'
' e'
''
''
' |'
''
'# Empty string value'
'four='
''
''
'# Empty string value, version 2'
'five= |'
''
'# Null'
'six= __NULL__'
''
'#Multiple line value, version 2'
'seven= |'
''
' v'
' a'
' l'
' u'
' | e |'
''
' s'
' e'
' v'
' e'
' n' |
|
|
Method Summary |
static void |
main(String[] as_cmdLineParams)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmplConfigReaderFA_ML
public XmplConfigReaderFA_ML()
main
public static void main(String[] as_cmdLineParams)
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava