| | */ |
| | public class Parser { |
| | + /** |
| | + * Creates a Parser instance that parses a given <b>rxm</b> string. |
| | + */ |
| | public Parser( String rxm ) throws Exception { |
| | Yylex lexer = new Yylex( new StringReader( rxm ) ); |
 |
| | |
| | /** |
| | - * Reads the entire contents of the file (specified by the given path) |
| | - * |
| | + * Reads the entire contents of the file (specified by the given path). |
| | + * This uses the default character set when reading the file. |
| | + * |
| | + * @param path The path to the file with an <b>rxm</b> to read. |
| | */ |
| | private static String readFile( String path ) throws IOException { |