|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.console.formatter.CommandShellOutputFormatter
public class CommandShellOutputFormatter
Constructor Summary | |
---|---|
CommandShellOutputFormatter(OutputStream out)
|
Method Summary | |
---|---|
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 of mbean |
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 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandShellOutputFormatter(OutputStream out)
Method Detail |
---|
public OutputStream getOutputStream()
getOutputStream
in interface OutputFormatter
public void printMBean(ObjectInstance mbean)
printMBean
in interface OutputFormatter
mbean
- - mbean to printpublic void printMBean(ObjectName mbean)
printMBean
in interface OutputFormatter
mbean
- - mbean to printpublic void printMBean(AttributeList mbean)
printMBean
in interface OutputFormatter
mbean
- - mbean to printpublic void printMBean(Map mbean)
printMBean
in interface OutputFormatter
mbean
- - mbean to printpublic void printMBean(Collection mbean)
printMBean
in interface OutputFormatter
mbean
- - collection of mbeanspublic void printMessage(Map msg)
printMessage
in interface OutputFormatter
msg
- public void printMessage(javax.jms.Message msg)
printMessage
in interface OutputFormatter
msg
- - JMS message to printpublic void printMessage(Collection msg)
printMessage
in interface OutputFormatter
msg
- - collection of JMS messagespublic void printHelp(String[] helpMsgs)
printHelp
in interface OutputFormatter
helpMsgs
- - help messages to printpublic void printInfo(String info)
printInfo
in interface OutputFormatter
info
- - information message to printpublic void printException(Exception e)
printException
in interface OutputFormatter
e
- - exception to printpublic void printVersion(String version)
printVersion
in interface OutputFormatter
version
- - version info to printpublic void print(Map map)
print
in interface OutputFormatter
map
- to printpublic void print(String[] strings)
print
in interface OutputFormatter
strings
- - string array to printpublic void print(Collection collection)
print
in interface OutputFormatter
collection
- - collection to printpublic void print(String string)
print
in interface OutputFormatter
string
- - string to print
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |