org.apache.activemq.console.formatter
Interface OutputFormatter

All Known Implementing Classes:
CommandShellOutputFormatter

public interface OutputFormatter


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 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(Message msg)
          Print a Message format of a JMS message
 void printVersion(String version)
          Print a version information
 

Method Detail

getOutputStream

OutputStream getOutputStream()
Retrieve the output stream being used by the formatter


printMBean

void printMBean(ObjectInstance mbean)
Print an ObjectInstance format of an mbean

Parameters:
mbean - - mbean to print

printMBean

void printMBean(ObjectName mbean)
Print an ObjectName format of an mbean

Parameters:
mbean - - mbean to print

printMBean

void printMBean(AttributeList mbean)
Print an AttributeList format of an mbean

Parameters:
mbean - - mbean to print

printMBean

void printMBean(Map mbean)
Print a Map format of an mbean

Parameters:
mbean - - mbean to print

printMBean

void printMBean(Collection mbean)
Print a Collection format of mbeans

Parameters:
mbean - - collection of mbeans

printMessage

void printMessage(Map msg)
Print a Map format of a JMS message

Parameters:
msg -

printMessage

void printMessage(Message msg)
Print a Message format of a JMS message

Parameters:
msg - - JMS message to print

printMessage

void printMessage(Collection msg)
Print a Collection format of JMS messages

Parameters:
msg - - collection of JMS messages

printHelp

void printHelp(String[] helpMsgs)
Print help messages

Parameters:
helpMsgs - - help messages to print

printInfo

void printInfo(String info)
Print an information message

Parameters:
info - - information message to print

printException

void printException(Exception e)
Print an exception message

Parameters:
e - - exception to print

printVersion

void printVersion(String version)
Print a version information

Parameters:
version - - version info to print

print

void print(Map map)
Print a generic key value mapping

Parameters:
map - to print

print

void print(String[] strings)
Print a generic array of strings

Parameters:
strings - - string array to print

print

void print(Collection collection)
Print a collection of objects

Parameters:
collection - - collection to print

print

void print(String string)
Print a java string

Parameters:
string - - string to print


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.