Mercurial > hg > Members > kono > PLparser
view src/plparser/TestParser.java @ 1:b149a5aa465a
Parser is written
author | kono@ie.u-ryukyu.ac.jp |
---|---|
date | Sat, 28 Aug 2010 17:39:34 +0900 |
parents | |
children |
line wrap: on
line source
package plparser; public class TestParser { public static void main(String arg[]) { PropertyListParser<Property> p; PropertyListNodeFactory<Property> lf = new PropertyFactoryImpl(); p = new PropertyListParser<Property>("{ a=b;}",lf); Property n = p.parse(); if (n!=null) System.out.print(n); System.out.println("."); } }