TimeoutProcess

public class TimeoutProcess

Constructors

TimeoutProcess

public TimeoutProcess(Process process, int ms)

Methods

exitValue

public int exitValue()

getErrorStream

public InputStream getErrorStream()

timeout

protected void timeout()

waitFor

public int waitFor()

wasTimeouted

public boolean wasTimeouted()

watchTimeout

public static Thread watchTimeout(TimeoutProcess p, int ms)