@@ -0,0 +1,2834 @@
+/*%0A * Copyright (c) 2014, Colorado State University All rights reserved.%0A * %0A * Redistribution and use in source and binary forms, with or without%0A * modification, are permitted provided that the following conditions are met:%0A * %0A * 1. Redistributions of source code must retain the above copyright notice,%0A * this list of conditions and the following disclaimer. 2. Redistributions in%0A * binary form must reproduce the above copyright notice, this list of%0A * conditions and the following disclaimer in the documentation and/or other%0A * materials provided with the distribution.%0A * %0A * This software is provided by the copyright holders and contributors %22as is%22%0A * and any express or implied warranties, including, but not limited to, the%0A * implied warranties of merchantability and fitness for a particular purpose%0A * are disclaimed. In no event shall the copyright holder or contributors be%0A * liable for any direct, indirect, incidental, special, exemplary, or%0A * consequential damages (including, but not limited to, procurement of%0A * substitute goods or services; loss of use, data, or profits; or business%0A * interruption) however caused and on any theory of liability, whether in%0A * contract, strict liability, or tort (including negligence or otherwise)%0A * arising in any way out of the use of this software, even if advised of the%0A * possibility of such damage.%0A */%0A%0Apackage mendel.util;%0A%0A/**%0A * Utility for managing and displaying Mendel software versions and splash art.%0A * %0A * @author ctolooee%0A * %0A */%0Apublic class Version %7B%0A%0A    private final static Version version = new mendel.util.Version();%0A    private final static Package pkg = version.getClass().getPackage();%0A%0A    public static final String NAME = %22Mendel%22;%0A    public static final String VERSION = pkg.getSpecificationVersion();%0A%0A    public Version() %7B%0A    %7D%0A%0A    /**%0A     * Gets the version number of the running version of Mendel%0A     * %0A     * @return Current Mendel version number%0A     */%0A    public static String getVersion() %7B%0A        return (NAME + %22 %22 + VERSION);%0A    %7D%0A%0A    /**%0A     * Print Mendel version information.%0A     */%0A    public void printVersionInformation() %7B%0A        System.out.println(getVersion());%0A    %7D%0A%0A    /**%0A     * Print the Mendel splash art and version information.%0A     */%0A    public static void printSplash() %7B%0A        System.out.println();%0A%0A        System.out.println(%22                          _      _  %22);%0A        System.out.println(%22     /%5C%5C/%5C%5C   ___ _ __   __%7C %7C ___%7C %7C %22);%0A        System.out.println(%22    /    %5C%5C / _ %5C%5C '_ %5C%5C / _%60 %7C/ _ %5C%5C %7C %22);%0A        System.out.println(%22   / /%5C%5C/%5C%5C %5C%5C  __/ %7C %7C %7C (_%7C %7C  __/ %7C %22);%0A        System.out.println(%22   %5C%5C/    %5C%5C/%5C%5C___%7C_%7C %7C_%7C%5C%5C__,_%7C%5C%5C___%7C_%7C %22);%0A        System.out.println();%0A        System.out.println(%22             Version  %22 + VERSION);%0A        System.out.println();%0A    %7D%0A%7D%0A

Add Version utility