1 23 24 package net.sourceforge.cobertura.util; 25 26 import java.io.PrintStream ; 27 28 public abstract class Header 29 { 30 31 public static String version() 32 { 33 Package thisPackage = Header.class.getPackage(); 34 return (thisPackage != null ? thisPackage 35 .getImplementationVersion() : "cvs"); 36 } 37 38 public static void print(PrintStream out) 39 { 40 out.println("Cobertura " + version() + " - GNU GPL License (NO WARRANTY) - See COPYRIGHT file"); 41 } 42 } 43 | Popular Tags |