public interface OutputFormatter
Modifier and Type | Method and Description |
---|---|
OutputStream |
getOutputStream()
Retrieve the output stream being used by the formatter
|
void |
print(Collection collection)
Print a collection of objects
|
void |
print(Map map)
Print a generic key value mapping
|
void |
print(String string)
Print a java string
|
void |
print(String[] strings)
Print a generic array of strings
|
void |
printException(Exception e)
Print an exception message
|
void |
printHelp(String[] helpMsgs)
Print help messages
|
void |
printInfo(String info)
Print an information message
|
void |
printMBean(AttributeList mbean)
Print an AttributeList format of an mbean
|
void |
printMBean(Collection mbean)
Print a Collection format of mbeans
|
void |
printMBean(Map mbean)
Print a Map format of an mbean
|
void |
printMBean(ObjectInstance mbean)
Print an ObjectInstance format of an mbean
|
void |
printMBean(ObjectName mbean)
Print an ObjectName format of an mbean
|
void |
printMessage(Collection msg)
Print a Collection format of JMS messages
|
void |
printMessage(Map msg)
Print a Map format of a JMS message
|
void |
printMessage(javax.jms.Message msg)
Print a Message format of a JMS message
|
void |
printVersion(String version)
Print a version information
|
OutputStream getOutputStream()
void printMBean(ObjectInstance mbean)
mbean
- - mbean to printvoid printMBean(ObjectName mbean)
mbean
- - mbean to printvoid printMBean(AttributeList mbean)
mbean
- - mbean to printvoid printMBean(Map mbean)
mbean
- - mbean to printvoid printMBean(Collection mbean)
mbean
- - collection of mbeansvoid printMessage(Map msg)
msg
- void printMessage(javax.jms.Message msg)
msg
- - JMS message to printvoid printMessage(Collection msg)
msg
- - collection of JMS messagesvoid printHelp(String[] helpMsgs)
helpMsgs
- - help messages to printvoid printInfo(String info)
info
- - information message to printvoid printException(Exception e)
e
- - exception to printvoid printVersion(String version)
version
- - version info to printvoid print(String[] strings)
strings
- - string array to printvoid print(Collection collection)
collection
- - collection to printCopyright © 2005–2018 FuseSource, Corp.. All rights reserved.