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();
   }
 }