Пример #1
0
 public Object execute(final ExecutionEvent event)
     throws org.eclipse.core.commands.ExecutionException {
   IStreamsProxy proxy = getProcess().getStreamsProxy();
   if (proxy instanceof IStreamsProxy2) {
     IStreamsProxy2 proxy2 = (IStreamsProxy2) proxy;
     try {
       proxy2.closeInputStream();
     } catch (IOException e1) {
     }
   }
   return null;
 }
Пример #2
0
 public void closeInputStream() throws IOException {
   if (in instanceof IStreamsProxy2) {
     ((IStreamsProxy2) in).closeInputStream();
   }
 }