Package org.eclipse.remote.core
Class RemoteProcessAdapter
- java.lang.Object
-
- java.lang.Process
-
- org.eclipse.remote.core.RemoteProcessAdapter
-
public class RemoteProcessAdapter extends java.lang.ProcessUtility class to adapt an IRemoteProcess to a java.lang.Process
-
-
Constructor Summary
Constructors Constructor Description RemoteProcessAdapter(IRemoteProcess process)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()intexitValue()java.io.InputStreamgetErrorStream()java.io.InputStreamgetInputStream()java.io.OutputStreamgetOutputStream()intwaitFor()
-
-
-
Constructor Detail
-
RemoteProcessAdapter
public RemoteProcessAdapter(IRemoteProcess process)
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroyin classjava.lang.Process
-
exitValue
public int exitValue()
- Specified by:
exitValuein classjava.lang.Process
-
getErrorStream
public java.io.InputStream getErrorStream()
- Specified by:
getErrorStreamin classjava.lang.Process
-
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStreamin classjava.lang.Process
-
getOutputStream
public java.io.OutputStream getOutputStream()
- Specified by:
getOutputStreamin classjava.lang.Process
-
waitFor
public int waitFor() throws java.lang.InterruptedException- Specified by:
waitForin classjava.lang.Process- Throws:
java.lang.InterruptedException
-
-