public class ThreadPrinter extends org.apache.felix.webconsole.internal.AbstractConfigurationPrinter implements ModeAwareConfigurationPrinter
MODE_ALWAYS, MODE_TXT, MODE_WEB, MODE_ZIP, PROPERTY_MODES, SERVICE| Constructor and Description |
|---|
ThreadPrinter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTitle()
Returns a human readable title string to be placed in front of the configuration
report generated by the
ConfigurationPrinter.printConfiguration(PrintWriter) method. |
void |
printConfiguration(PrintWriter pw)
Prints the configuration report to the given
printWriter. |
void |
printConfiguration(PrintWriter pw,
String mode)
Prints the configuration report to the given
printWriter. |
public String getTitle()
ConfigurationPrinterConfigurationPrinter.printConfiguration(PrintWriter) method.getTitle in interface ConfigurationPrinterConfigurationPrinter.getTitle()public void printConfiguration(PrintWriter pw)
ConfigurationPrinterprintWriter.
Implementations are free to print whatever information they deem useful.printConfiguration in interface ConfigurationPrinterpw - where to write the configuration data. It might be flushed,
but must not be closed.ConfigurationPrinter.printConfiguration(java.io.PrintWriter)public void printConfiguration(PrintWriter pw, String mode)
ModeAwareConfigurationPrinterprintWriter.
Implementations are free to print whatever information they deem useful.
The printWriter may be flushed but must not be closed.printConfiguration in interface ModeAwareConfigurationPrinterpw - The print writer to use.mode - The rendering mode.ModeAwareConfigurationPrinter.printConfiguration(java.io.PrintWriter, java.lang.String)Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.