net.sf.appinfo.formatter
Interface ApplicationInfoFormatter

All Known Implementing Classes:
AbstractApplicationInfoFormatter, BasicApplicationInfoFormatter, CachingApplicationInfoFormatter

public interface ApplicationInfoFormatter

Interface for class formating application info into specific format ready for end use.

Author:
Marcin ZajÄ…czkowski, 2010-07-01

Method Summary
 String getInfo()
          Returns application info in format which is able to direct use application.
 void printInfo()
          Prints application info in format given by getInfo() to the log.
 

Method Detail

getInfo

String getInfo()
Returns application info in format which is able to direct use application. Subclasses should determine specific format (e.g. for title bar or web footer)

Returns:
application info in desired format

printInfo

void printInfo()
Prints application info in format given by getInfo() to the log. Could be used after formatter bean creation (in PostConstruct/init) to print application version to the log.



Copyright © 2010-2011. All Rights Reserved.