Constructor.paramin input streamparamnotifier the notifier object this.in = new BufferedReader(new InputStreamReader(in)); this.notifier = notifier;
this.in = new BufferedReader(new InputStreamReader(in)); this.notifier = notifier;
Constructor.paramin input stream this.in = new BufferedReader(new InputStreamReader(in));
this.in = new BufferedReader(new InputStreamReader(in));
The main loop. try { String s; while ((s = in.readLine()) != null) { if (notifier != null) notifier.output(s); } } catch (Exception e) {}
try { String s; while ((s = in.readLine()) != null) { if (notifier != null) notifier.output(s); } } catch (Exception e) {}