Package org.eclipse.remote.core
Class RemoteProcessAdapter
- java.lang.Object
-
- java.lang.Process
-
- org.eclipse.remote.core.RemoteProcessAdapter
-
public class RemoteProcessAdapter extends Process
Utility 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()InputStreamgetErrorStream()InputStreamgetInputStream()OutputStreamgetOutputStream()intwaitFor()-
Methods inherited from class java.lang.Process
children, descendants, destroyForcibly, info, isAlive, onExit, pid, supportsNormalTermination, toHandle, waitFor
-
-
-
-
Constructor Detail
-
RemoteProcessAdapter
public RemoteProcessAdapter(IRemoteProcess process)
-
-
Method Detail
-
getErrorStream
public InputStream getErrorStream()
- Specified by:
getErrorStreamin classProcess
-
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStreamin classProcess
-
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStreamin classProcess
-
waitFor
public int waitFor() throws InterruptedException- Specified by:
waitForin classProcess- Throws:
InterruptedException
-
-