Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/rxm.git

Source code comments.

Author Dave Jarvis <email>
Date 2015-02-28 10:55:31 GMT-0800
Commit 20c4c546083237aaf4951b1fad595395232c2f4c
Parent 5edaac1
Delta 7 lines added, 2 lines removed, 5-line increase
source/com/whitemagicsoftware/rxm/Parser.java
*/
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 {