/** * Read a <code>Process</code> from a <code>Reader</code>. * * @param reader * The reader containing the rule-set. * * @return The rule-set. */ public List<Process> read(final Reader reader) throws SAXException, IOException { this.processes = ((ProcessBuildData) this.parser.read( reader )).getProcesses(); return this.processes; }
/** * Read a <code>Process</code> from an <code>InputStream</code>. * * @param inputStream * The input-stream containing the rule-set. * * @return The rule-set. */ public List<Process> read(final InputStream inputStream) throws SAXException, IOException { this.processes = ((ProcessBuildData) this.parser.read( inputStream )).getProcesses(); return this.processes; }
/** * Read a <code>Process</code> from an <code>InputSource</code>. * * @param in * The rule-set input-source. * * @return The rule-set. */ public List<Process> read(final InputSource in) throws SAXException, IOException { this.processes = ((ProcessBuildData)this.parser.read( in )).getProcesses(); return this.processes; }
/** * Read a <code>Process</code> from an <code>InputStream</code>. * * @param inputStream * The input-stream containing the rule-set. * * @return The rule-set. */ public List<Process> read(final InputStream inputStream) throws SAXException, IOException { this.processes = ((ProcessBuildData) this.parser.read( inputStream )).getProcesses(); return this.processes; }
/** * Read a <code>Process</code> from an <code>InputSource</code>. * * @param in * The rule-set input-source. * * @return The rule-set. */ public List<Process> read(final InputSource in) throws SAXException, IOException { this.processes = ((ProcessBuildData)this.parser.read( in )).getProcesses(); return this.processes; }
/** * Read a <code>Process</code> from a <code>Reader</code>. * * @param reader * The reader containing the rule-set. * * @return The rule-set. */ public List<Process> read(final Reader reader) throws SAXException, IOException { this.processes = ((ProcessBuildData) this.parser.read( reader )).getProcesses(); return this.processes; }