|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.schmant.support.io.AppendToFileProcessOutputStrategy
public class AppendToFileProcessOutputStrategy
This is an process output strategy that appends the output of a process to a file. If the file does not already exist, it is created.
Constructor Summary | |
---|---|
AppendToFileProcessOutputStrategy(FutureEntityFactory fef)
Create a process output strategy that will append the monitored process' output to the file referenced by a future entity created by the supplied factory. |
|
AppendToFileProcessOutputStrategy(FutureFile f)
Create a process output strategy that will append the monitored process' output to the file referenced by the future entity. |
|
AppendToFileProcessOutputStrategy(WritableFile f)
Create a process output strategy that will append the output of the monitored process to the supplied file. |
Method Summary | |
---|---|
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 AppendToFileProcessOutputStrategy(WritableFile f)
f
- The file to write to.public AppendToFileProcessOutputStrategy(FutureFile f)
f
- A future entity.public AppendToFileProcessOutputStrategy(FutureEntityFactory fef)
fef
- A factory for creating future entities.Method Detail |
---|
public ProcessOutputListener getOutputListener()
ProcessOutputStrategy
getOutputListener
in interface ProcessOutputStrategy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |