public class InputWriter extends Object
Modifier and Type | Field and Description |
---|---|
private org.apache.log4j.Logger |
log |
private Process |
process |
private boolean |
stopSendingCommands |
private PrintStream |
streamToProcess
Stream used to send commands to mplayer
|
Constructor and Description |
---|
InputWriter(Process process) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
private boolean |
isStopSendingCommands() |
void |
sendCommand(String command)
Send Command to MPlayer
|
void |
setStopSendingCommands(boolean stopSendingCommands) |
private org.apache.log4j.Logger log
private Process process
private volatile PrintStream streamToProcess
private boolean stopSendingCommands
public InputWriter(Process process)
public void sendCommand(String command)
command
- private boolean isStopSendingCommands()
public void setStopSendingCommands(boolean stopSendingCommands)
stopSendingCommands
- the stopSendingCommands to setpublic void dispose()
Copyright © 2013–2014. All rights reserved.