|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.schmant.support.io.SaveToStringProcessOutputStrategy
public class SaveToStringProcessOutputStrategy
This ProcessOutputStrategy saves the output from the process to a
string. The getOutput() method can be used to retrieve the output
after the process has terminated.
| Constructor Summary | |
|---|---|
SaveToStringProcessOutputStrategy()
Create a save-to-String process output strategy. |
|
SaveToStringProcessOutputStrategy(long pollInterval)
Create a save-to-String process output strategy. |
|
| Method Summary | |
|---|---|
String |
getOutput()
Get the output from the process after it has been run. |
ProcessOutputListener |
getOutputListener()
Create a new process output listener for listening to a process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SaveToStringProcessOutputStrategy()
AbstractProcessOutputListener).
public SaveToStringProcessOutputStrategy(long pollInterval)
pollInterval - The polling interval in milliseconds.| Method Detail |
|---|
public ProcessOutputListener getOutputListener()
ProcessOutputStrategy
getOutputListener in interface ProcessOutputStrategypublic String getOutput()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||