gov.nasa.pds.report.logging.formatter
Class PDSFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by gov.nasa.pds.report.logging.formatter.PDSFormatter
Direct Known Subclasses:
ReportManagerFormatter

public abstract class PDSFormatter
extends Formatter

Version:
$Revision$
Author:
jpadams

Field Summary
protected static String doubleLineFeed
           
protected static String lineFeed
           
protected  int numErrors
           
protected  int numWarnings
           
protected static String sectionBreak
           
protected  StringBuffer summary
           
 
Constructor Summary
PDSFormatter()
           
 
Method Summary
 String format(LogRecord record)
           
 String getTail(Handler handler)
           
protected abstract  void processSummary()
           
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lineFeed

protected static String lineFeed

doubleLineFeed

protected static String doubleLineFeed

sectionBreak

protected static String sectionBreak

summary

protected StringBuffer summary

numWarnings

protected int numWarnings

numErrors

protected int numErrors
Constructor Detail

PDSFormatter

public PDSFormatter()
Method Detail

format

public String format(LogRecord record)
Specified by:
format in class Formatter

processSummary

protected abstract void processSummary()

getTail

public String getTail(Handler handler)
Overrides:
getTail in class Formatter


Copyright © 2010–2014 Planetary Data System. All rights reserved.