Mercurial > hg > Members > kono > PLparser
annotate src/plparser/TestParser.java @ 9:29e309b2f624
Try several Tokenizer
author | one |
---|---|
date | Thu, 02 Sep 2010 10:00:23 +0900 |
parents | b149a5aa465a |
children |
rev | line source |
---|---|
1 | 1 package plparser; |
2 | |
3 | |
4 public class TestParser { | |
5 | |
6 public static void main(String arg[]) { | |
7 PropertyListParser<Property> p; | |
8 PropertyListNodeFactory<Property> lf = new PropertyFactoryImpl(); | |
9 p = new PropertyListParser<Property>("{ a=b;}",lf); | |
10 Property n = p.parse(); | |
11 if (n!=null) System.out.print(n); System.out.println("."); | |
12 } | |
13 } |