| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (16) --> |
| <title>Output (OpenJ9 JDK 16)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: module: openj9.dtfjview, package: com.ibm.jvm.dtfjview, class: Output"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <meta name="keywords" content="com.ibm.jvm.dtfjview.Output class"> |
| <meta name="keywords" content="clearBuffer()"> |
| <meta name="keywords" content="setBuffering()"> |
| <meta name="keywords" content="getBuffer()"> |
| <meta name="keywords" content="print()"> |
| <meta name="keywords" content="printPrompt()"> |
| <meta name="keywords" content="println()"> |
| <meta name="keywords" content="addChannel()"> |
| <meta name="keywords" content="removeChannel()"> |
| <meta name="keywords" content="removeAllChannels()"> |
| <meta name="keywords" content="removeFileChannel()"> |
| <meta name="keywords" content="setConsoleNoPrint()"> |
| <meta name="keywords" content="close()"> |
| <meta name="keywords" content="write()"> |
| <meta name="keywords" content="flush()"> |
| <meta name="keywords" content="getPrintStream()"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar.top"> |
| <div class="skip-nav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <div class="about-language"><div style="margin-top: 9px;"><strong>OpenJ9 JDK 16</strong></div></div> |
| <ul id="navbar.top.firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="../../../../module-summary.html">Module</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="class-use/Output.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip.navbar.top"> |
| <!-- --> |
| </span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="module-label-in-type">Module</span> <a href="../../../../module-summary.html">openj9.dtfjview</a></div> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">com.ibm.jvm.dtfjview</a></div> |
| <h1 title="Class Output" class="title">Class Output</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">java.lang.Object</a> |
| <div class="inheritance"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io" class="external-link" target="_blank">java.io.OutputStream</a> |
| <div class="inheritance">com.ibm.jvm.dtfjview.Output</div> |
| </div> |
| </div> |
| <section class="description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a></code>, <code><a href="spi/IOutputManager.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputManager</a></code>, <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/Closeable.html" title="class or interface in java.io" class="external-link" target="_blank">Closeable</a></code>, <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/Flushable.html" title="class or interface in java.io" class="external-link" target="_blank">Flushable</a></code>, <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/AutoCloseable.html" title="class or interface in java.lang" class="external-link" target="_blank">AutoCloseable</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">Output</span> |
| <span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io" class="external-link" target="_blank">OutputStream</a> |
| implements <a href="spi/IOutputManager.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputManager</a></span></div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor.summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><span class="member-name-link"><a href="#%3Cinit%3E()">Output</a></span>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method.summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#addChannel(com.ibm.jvm.dtfjview.spi.IOutputChannel)">addChannel</a></span>​(<a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a> channel)</code></div> |
| <div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Adds a channel to the list of registered channels.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#addChannel(com.ibm.jvm.dtfjview.spi.IOutputChannel,boolean)">addChannel</a></span>​(<a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a> channel, |
| boolean printLastInput)</code></div> |
| <div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> </div> |
| <div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#clearBuffer()">clearBuffer</a></span>()</code></div> |
| <div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Clears the current buffer contents.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#close()">close</a></span>()</code></div> |
| <div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Closes this output stream and releases any system resources |
| associated with this stream.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#flush()">flush</a></span>()</code></div> |
| <div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Flushes this output stream and forces any buffered output bytes |
| to be written out.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a></code></div> |
| <div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getBuffer()">getBuffer</a></span>()</code></div> |
| <div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Gets the current buffer contents.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/PrintStream.html" title="class or interface in java.io" class="external-link" target="_blank">PrintStream</a></code></div> |
| <div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getPrintStream()">getPrintStream</a></span>()</code></div> |
| <div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Creates a print stream for this output object</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#print(java.lang.String)">print</a></span>​(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a> outputString)</code></div> |
| <div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Sends text to channel</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#println(java.lang.String)">println</a></span>​(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a> outputString)</code></div> |
| <div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Sends text to the channel with an appended \n</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#printPrompt(java.lang.String)">printPrompt</a></span>​(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a> prompt)</code></div> |
| <div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Sets the prompt which should be displayed when an interactive session |
| is running.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#removeAllChannels()">removeAllChannels</a></span>()</code></div> |
| <div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Remove all registered channels</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#removeChannel(com.ibm.jvm.dtfjview.spi.IOutputChannel)">removeChannel</a></span>​(<a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a> channel)</code></div> |
| <div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Removes a specific channel for a particular type.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#removeChannel(java.lang.Class)">removeChannel</a></span>​(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link" target="_blank">Class</a><?> type)</code></div> |
| <div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Removes all registered channels for a particular type.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#removeFileChannel()">removeFileChannel</a></span>()</code></div> |
| <div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> </div> |
| <div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#setBuffering(boolean)">setBuffering</a></span>​(boolean enabled)</code></div> |
| <div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Enabling buffering will cause the output from commands to be written |
| to an internal buffer rather than immediately to the underlying output |
| channels.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#setConsoleNoPrint(boolean)">setConsoleNoPrint</a></span>​(boolean noPrint)</code></div> |
| <div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> </div> |
| <div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#write(int)">write</a></span>​(int b)</code></div> |
| <div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"> |
| <div class="block">Writes the specified byte to this output stream.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods.inherited.from.class.java.io.OutputStream">Methods declared in class java.io.<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io" class="external-link" target="_blank">OutputStream</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html#nullOutputStream()" title="class or interface in java.io" class="external-link" target="_blank">nullOutputStream</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html#write(byte%5B%5D)" title="class or interface in java.io" class="external-link" target="_blank">write</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html#write(byte%5B%5D,int,int)" title="class or interface in java.io" class="external-link" target="_blank">write</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods.inherited.from.class.java.lang.Object">Methods declared in class java.lang.<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link" target="_blank">clone</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link" target="_blank">equals</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link" target="_blank">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link" target="_blank">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link" target="_blank">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link" target="_blank">notify</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link" target="_blank">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link" target="_blank">toString</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link" target="_blank">wait</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link" target="_blank">wait</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link" target="_blank">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor.detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>()"> |
| <h3>Output</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">Output</span>()</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method.detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="clearBuffer()"> |
| <h3>clearBuffer</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">clearBuffer</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputManager.html#clearBuffer()">IOutputManager</a></code></span></div> |
| <div class="block">Clears the current buffer contents.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputManager.html#clearBuffer()">clearBuffer</a></code> in interface <code><a href="spi/IOutputManager.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputManager</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setBuffering(boolean)"> |
| <h3>setBuffering</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setBuffering</span>​<span class="parameters">(boolean enabled)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputManager.html#setBuffering(boolean)">IOutputManager</a></code></span></div> |
| <div class="block">Enabling buffering will cause the output from commands to be written |
| to an internal buffer rather than immediately to the underlying output |
| channels. This is typically used by clients to inspect or intercept the results from |
| a command before carrying out further processing. |
| |
| By default buffering is not enabled.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputManager.html#setBuffering(boolean)">setBuffering</a></code> in interface <code><a href="spi/IOutputManager.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputManager</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>enabled</code> - true turns on buffering</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getBuffer()"> |
| <h3>getBuffer</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a></span> <span class="element-name">getBuffer</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputManager.html#getBuffer()">IOutputManager</a></code></span></div> |
| <div class="block">Gets the current buffer contents.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputManager.html#getBuffer()">getBuffer</a></code> in interface <code><a href="spi/IOutputManager.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputManager</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>buffer contents</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="print(java.lang.String)"> |
| <h3>print</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">print</span>​<span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a> outputString)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputChannel.html#print(java.lang.String)">IOutputChannel</a></code></span></div> |
| <div class="block">Sends text to channel</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputChannel.html#print(java.lang.String)">print</a></code> in interface <code><a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>outputString</code> - text to send</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="printPrompt(java.lang.String)"> |
| <h3>printPrompt</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">printPrompt</span>​<span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a> prompt)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputChannel.html#printPrompt(java.lang.String)">IOutputChannel</a></code></span></div> |
| <div class="block">Sets the prompt which should be displayed when an interactive session |
| is running. Typically this will display the context number in a |
| multi-context environment.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputChannel.html#printPrompt(java.lang.String)">printPrompt</a></code> in interface <code><a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>prompt</code> - prompt to display.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="println(java.lang.String)"> |
| <h3>println</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">println</span>​<span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a> outputString)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputChannel.html#println(java.lang.String)">IOutputChannel</a></code></span></div> |
| <div class="block">Sends text to the channel with an appended \n</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputChannel.html#println(java.lang.String)">println</a></code> in interface <code><a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>outputString</code> - text to send</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addChannel(com.ibm.jvm.dtfjview.spi.IOutputChannel)"> |
| <h3>addChannel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">addChannel</span>​<span class="parameters">(<a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a> channel)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputManager.html#addChannel(com.ibm.jvm.dtfjview.spi.IOutputChannel)">IOutputManager</a></code></span></div> |
| <div class="block">Adds a channel to the list of registered channels.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputManager.html#addChannel(com.ibm.jvm.dtfjview.spi.IOutputChannel)">addChannel</a></code> in interface <code><a href="spi/IOutputManager.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputManager</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>channel</code> - channel to add.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addChannel(com.ibm.jvm.dtfjview.spi.IOutputChannel,boolean)"> |
| <h3>addChannel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">addChannel</span>​<span class="parameters">(<a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a> channel, |
| boolean printLastInput)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="removeChannel(java.lang.Class)"> |
| <h3>removeChannel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">removeChannel</span>​<span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link" target="_blank">Class</a><?> type)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputManager.html#removeChannel(java.lang.Class)">IOutputManager</a></code></span></div> |
| <div class="block">Removes all registered channels for a particular type.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputManager.html#removeChannel(java.lang.Class)">removeChannel</a></code> in interface <code><a href="spi/IOutputManager.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputManager</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="removeChannel(com.ibm.jvm.dtfjview.spi.IOutputChannel)"> |
| <h3>removeChannel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">removeChannel</span>​<span class="parameters">(<a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a> channel)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputManager.html#removeChannel(com.ibm.jvm.dtfjview.spi.IOutputChannel)">IOutputManager</a></code></span></div> |
| <div class="block">Removes a specific channel for a particular type. For this to be successful the underlying |
| implementation must override hashcode and equals.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputManager.html#removeChannel(com.ibm.jvm.dtfjview.spi.IOutputChannel)">removeChannel</a></code> in interface <code><a href="spi/IOutputManager.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputManager</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="removeAllChannels()"> |
| <h3>removeAllChannels</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">removeAllChannels</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputManager.html#removeAllChannels()">IOutputManager</a></code></span></div> |
| <div class="block">Remove all registered channels</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputManager.html#removeAllChannels()">removeAllChannels</a></code> in interface <code><a href="spi/IOutputManager.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputManager</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="removeFileChannel()"> |
| <h3>removeFileChannel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">removeFileChannel</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setConsoleNoPrint(boolean)"> |
| <h3>setConsoleNoPrint</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setConsoleNoPrint</span>​<span class="parameters">(boolean noPrint)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="close()"> |
| <h3>close</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">close</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html#close()" title="class or interface in java.io" class="external-link" target="_blank">java.io.OutputStream</a></code></span></div> |
| <div class="block">Closes this output stream and releases any system resources |
| associated with this stream. The general contract of <code>close</code> |
| is that it closes the output stream. A closed stream cannot perform |
| output operations and cannot be reopened. |
| <p> |
| The <code>close</code> method of <code>OutputStream</code> does nothing.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/AutoCloseable.html#close()" title="class or interface in java.lang" class="external-link" target="_blank">close</a></code> in interface <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/AutoCloseable.html" title="class or interface in java.lang" class="external-link" target="_blank">AutoCloseable</a></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/Closeable.html#close()" title="class or interface in java.io" class="external-link" target="_blank">close</a></code> in interface <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/Closeable.html" title="class or interface in java.io" class="external-link" target="_blank">Closeable</a></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputChannel.html#close()">close</a></code> in interface <code><a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html#close()" title="class or interface in java.io" class="external-link" target="_blank">close</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io" class="external-link" target="_blank">OutputStream</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="write(int)"> |
| <h3>write</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">write</span>​<span class="parameters">(int b)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link" target="_blank">IOException</a></span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html#write(int)" title="class or interface in java.io" class="external-link" target="_blank">java.io.OutputStream</a></code></span></div> |
| <div class="block">Writes the specified byte to this output stream. The general |
| contract for <code>write</code> is that one byte is written |
| to the output stream. The byte to be written is the eight |
| low-order bits of the argument <code>b</code>. The 24 |
| high-order bits of <code>b</code> are ignored. |
| <p> |
| Subclasses of <code>OutputStream</code> must provide an |
| implementation for this method.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html#write(int)" title="class or interface in java.io" class="external-link" target="_blank">write</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io" class="external-link" target="_blank">OutputStream</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>b</code> - the <code>byte</code>.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link" target="_blank">IOException</a></code> - if an I/O error occurs. In particular, |
| an <code>IOException</code> may be thrown if the |
| output stream has been closed.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="flush()"> |
| <h3>flush</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">flush</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html#flush()" title="class or interface in java.io" class="external-link" target="_blank">java.io.OutputStream</a></code></span></div> |
| <div class="block">Flushes this output stream and forces any buffered output bytes |
| to be written out. The general contract of <code>flush</code> is |
| that calling it is an indication that, if any bytes previously |
| written have been buffered by the implementation of the output |
| stream, such bytes should immediately be written to their |
| intended destination. |
| <p> |
| If the intended destination of this stream is an abstraction provided by |
| the underlying operating system, for example a file, then flushing the |
| stream guarantees only that bytes previously written to the stream are |
| passed to the operating system for writing; it does not guarantee that |
| they are actually written to a physical device such as a disk drive. |
| <p> |
| The <code>flush</code> method of <code>OutputStream</code> does nothing.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/Flushable.html#flush()" title="class or interface in java.io" class="external-link" target="_blank">flush</a></code> in interface <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/Flushable.html" title="class or interface in java.io" class="external-link" target="_blank">Flushable</a></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputChannel.html#flush()">flush</a></code> in interface <code><a href="spi/IOutputChannel.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputChannel</a></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html#flush()" title="class or interface in java.io" class="external-link" target="_blank">flush</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io" class="external-link" target="_blank">OutputStream</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getPrintStream()"> |
| <h3>getPrintStream</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/PrintStream.html" title="class or interface in java.io" class="external-link" target="_blank">PrintStream</a></span> <span class="element-name">getPrintStream</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="spi/IOutputManager.html#getPrintStream()">IOutputManager</a></code></span></div> |
| <div class="block">Creates a print stream for this output object</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="spi/IOutputManager.html#getPrintStream()">getPrintStream</a></code> in interface <code><a href="spi/IOutputManager.html" title="interface in com.ibm.jvm.dtfjview.spi">IOutputManager</a></code></dd> |
| <dt>Returns:</dt> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small><a href="https://www.eclipse.org/openj9/" target="_blank">Eclipse OpenJ9 website.</a><br> To raise a bug report or suggest an improvement create an <a href="https://github.com/eclipse-openj9/openj9/issues" target="_blank">Eclipse Openj9 issue.</a><br> Copyright © 1998, 2021, IBM Corp. and others.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |