- java.lang.Object
-
- java.io.OutputStream
-
- com.ibm.jvm.dtfjview.tools.ToolsRegistryOutputChannels
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class ToolsRegistryOutputChannels extends OutputStream
Note, this class needs to be initialized first before it can be used.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddChannel(IOutputChannel out)To add an output channel.static booleancontains(IOutputChannel out)To check if an output channel is already contained.static voidinitialize(String charsetName)To initialize the output channels for the tools registry.static PrintStreamnewPrintStream()static voidremoveChannel(IOutputChannel out)To remove an output channel.-
Methods declared in class java.io.OutputStream
close, flush, nullOutputStream, write, write, write
-
-
-
-
Method Detail
-
initialize
public static void initialize(String charsetName)
To initialize the output channels for the tools registry.
-
addChannel
public static void addChannel(IOutputChannel out)
To add an output channel.- Parameters:
out- The output channel to be added.
-
removeChannel
public static void removeChannel(IOutputChannel out)
To remove an output channel.- Parameters:
out- The output channel to be removed.
-
contains
public static boolean contains(IOutputChannel out)
To check if an output channel is already contained.- Parameters:
out- The output channel to be checked.- Returns:
trueif such an output channel is found;falseotherwise.
-
newPrintStream
public static PrintStream newPrintStream()
-
-