/** * Reads CML from an java.io.InputStream, for example the FileInputStream. * * @param input InputStream type input */ public CMLReader(InputStream input) { this.input = input; init(); }
/** * Define this CMLReader to take the input from a java.io.Reader * class. Possible readers are (among others) StringReader and FileReader. * * @param url String url which points to the file to be read */ public CMLReader(String url) { this.init(); this.url = url; }
/** * Reads CML from an java.io.InputStream, for example the FileInputStream. * * @param input InputStream type input */ public CMLReader(InputStream input) { this.input = input; init(); }
/** * Define this CMLReader to take the input from a java.io.Reader * class. Possible readers are (among others) StringReader and FileReader. * * @param url String url which points to the file to be read */ public CMLReader(String url) { this.init(); this.url = url; }