public static String getProductInfoPrintout ( ) { //read properties Properties properties = LibraryConfigurationLoader . readInternalConfiguration ( ) ; //get values String name = properties . getProperty ( "org.fax4j.product.name" ) ; String version = properties . getProperty ( "org.fax4j.product.version" ) ; //init buffer StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( name ) ; buffer . append ( " library." ) ; buffer . append ( Logger . SYSTEM_EOL ) ; buffer . append ( "Version: " ) ; buffer . append ( version ) ; //get text String text = buffer . toString ( ) ; return text ; }
Returns the product info printout .