Ejemplo n.º 1
0
 public void addErrListener(final IStreamListener errHandler) {
   final IStreamsProxy streamsProxy = getStreamsProxy();
   if (streamsProxy != null) {
     streamsProxy.getErrorStreamMonitor().addListener(errHandler);
   }
 }
Ejemplo n.º 2
0
 private IStreamsProxy removeDuplicates(IStreamsProxy streamsProxy) {
   return new StreamsProxy(
       removeDuplicates(streamsProxy.getOutputStreamMonitor()),
       streamsProxy.getErrorStreamMonitor(),
       streamsProxy);
 }