org.edg.data.reptor.info
Class UserStreamInfoPrinter

java.lang.Object
  extended byorg.edg.data.reptor.info.InfoPrinter
      extended byorg.edg.data.reptor.info.UserStreamInfoPrinter

public final class UserStreamInfoPrinter
extends InfoPrinter

Print information in a User readable form, suitable for displaying on the console

Version:
$ Id:$
Author:
James Casey

Field Summary
 
Fields inherited from class org.edg.data.reptor.info.InfoPrinter
m_alignment, m_comment, m_sep, m_spaces
 
Constructor Summary
UserStreamInfoPrinter(java.io.PrintWriter out, int alignment)
          Create a new User-readable InfoPrinter to a given PrintStream.
 
Method Summary
 void entry(java.lang.String key, java.lang.String desc, java.util.Iterator values)
           
 void entry(java.lang.String key, java.lang.String desc, java.lang.String value)
           
 void warning(InfoServiceException e)
           
 
Methods inherited from class org.edg.data.reptor.info.InfoPrinter
comment, comment, comment, entry, entry, newline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserStreamInfoPrinter

public UserStreamInfoPrinter(java.io.PrintWriter out,
                             int alignment)
Create a new User-readable InfoPrinter to a given PrintStream.

Parameters:
out - the PrintStream
alignment - the position of the separator
Method Detail

entry

public void entry(java.lang.String key,
                  java.lang.String desc,
                  java.lang.String value)
Specified by:
entry in class InfoPrinter

entry

public void entry(java.lang.String key,
                  java.lang.String desc,
                  java.util.Iterator values)
Specified by:
entry in class InfoPrinter

warning

public void warning(InfoServiceException e)
Specified by:
warning in class InfoPrinter