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()
ConfigurationPrinter
ConfigurationPrinter.printConfiguration(PrintWriter)
method.getTitle
in interface ConfigurationPrinter
ConfigurationPrinter.getTitle()
public void printConfiguration(PrintWriter pw)
ConfigurationPrinter
printWriter
.
Implementations are free to print whatever information they deem useful.printConfiguration
in interface ConfigurationPrinter
pw
- 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)
ModeAwareConfigurationPrinter
printWriter
.
Implementations are free to print whatever information they deem useful.
The printWriter
may be flushed but must not be closed.printConfiguration
in interface ModeAwareConfigurationPrinter
pw
- The print writer to use.mode
- The rendering mode.ModeAwareConfigurationPrinter.printConfiguration(java.io.PrintWriter, java.lang.String)
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.