/** * Constructor * * @param theInputStream * The input stream to read from * @param theHapiContext * The HapiContext from which to obtain the parser */ public Hl7InputStreamMessageIterator(InputStream theInputStream, HapiContext theHapiContext) { super(theHapiContext); myWrapped = new Hl7InputStreamMessageStringIterator(theInputStream); }
/** * Constructor * * @param theReader * The reader to read from * @param theHapiContext * The HapiContext from which to obtain the parser */ public Hl7InputStreamMessageIterator(Reader theReader, HapiContext theHapiContext) { super(theHapiContext); myWrapped = new Hl7InputStreamMessageStringIterator(theReader); }
/** * Constructor * * @param theInputStream * The input stream to read from * @param theHapiContext * The HapiContext from which to obtain the parser */ public Hl7InputStreamMessageIterator(InputStream theInputStream, HapiContext theHapiContext) { super(theHapiContext); myWrapped = new Hl7InputStreamMessageStringIterator(theInputStream); }
/** * Constructor * * @param theReader * The reader to read from * @param theHapiContext * The HapiContext from which to obtain the parser */ public Hl7InputStreamMessageIterator(Reader theReader, HapiContext theHapiContext) { super(theHapiContext); myWrapped = new Hl7InputStreamMessageStringIterator(theReader); }
is = new FileInputStream(file); is = new BufferedInputStream(is); Hl7InputStreamMessageStringIterator iter2 = new Hl7InputStreamMessageStringIterator(is);