java.lang.Object
com.ibm.jvm.dtfjview.FileOutputChannel
- All Implemented Interfaces:
IOutputChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Instructs this channel to close and free any resources.voidvoidvoidflush()Causes the channel to flush any buffered text.voidSends text to channelvoidprintInput(long timestamp, String prompt, String outputString) voidSends text to the channel with an appended \nvoidprintPrompt(String prompt) Sets the prompt which should be displayed when an interactive session is running.
-
Constructor Details
-
FileOutputChannel
-
-
Method Details
-
print
Description copied from interface:IOutputChannelSends text to channel- Specified by:
printin interfaceIOutputChannel- Parameters:
outputString- text to send
-
printPrompt
Description copied from interface:IOutputChannelSets the prompt which should be displayed when an interactive session is running. Typically this will display the context number in a multi-context environment.- Specified by:
printPromptin interfaceIOutputChannel- Parameters:
prompt- prompt to display.
-
println
Description copied from interface:IOutputChannelSends text to the channel with an appended \n- Specified by:
printlnin interfaceIOutputChannel- Parameters:
outputString- text to send
-
error
-
error
-
printInput
-
close
public void close()Description copied from interface:IOutputChannelInstructs this channel to close and free any resources. Once closed a channel cannot be re-opened.- Specified by:
closein interfaceIOutputChannel
-
flush
public void flush()Description copied from interface:IOutputChannelCauses the channel to flush any buffered text. Depending upon the channel implementation this may not have any effect.- Specified by:
flushin interfaceIOutputChannel
-