All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.starter.ignite.util.ASCIIArtPrinter Maven / Gradle / Ivy

There is a newer version: 0.9.25
Show newest version
package io.starter.ignite.util;

public class ASCIIArtPrinter {
	
	private static String[] prolines = {
			"	   _________ __                 __     ________                ____________________ ________    ",
			"	  /   _____//  |______    ____ |  | __/  _____/  ____   ____   \\______   \\______   \\\\_____  \\   ",
			"	  \\_____  \\\\   __\\__  \\ _/ ___\\|  |/ /   \\  ____/ __ \\ /    \\   |     ___/|       _/ /   |   \\  ",
			"   /        \\|  |  / __ \\\\  \\___|    <\\    \\_\\  \\  ___/|   |  \\  |    |    |    |   \\/    |    \\ ",
			"	 /_______  /|__| (____  /\\___  >__|_ \\\\______  /\\___  >___|  /  |____|    |____|_  /\\_______  / ",
			"	         \\/           \\/     \\/     \\/       \\/     \\/     \\/                    \\/         \\/  "			
	};
	
	private static String[] lines = {
			"	   _________ __                 __     ________                			",
			"	  /   _____//  |______    ____ |  | __/  _____/  ____   ____   			",
			"	  \\_____  \\\\   __\\__  \\ _/ ___\\|  |/ /   \\  ____/ __ \\ /    \\  ",
			"     	  /        \\|  |  / __ \\\\  \\___|    <\\    \\_\\  \\  ___/|   |  \\ 	",
			"	 /_______  /|__| (____  /\\___  >__|_ \\\\______  /\\___  >___|  / 		",
			"	         \\/           \\/     \\/     \\/       \\/     \\/     \\/  	"
	};
	
	public static void main(String[] args) {
		System.out.print(ASCIIArtPrinter.print());
	}

	public static String print() {
		StringBuffer ret = new StringBuffer();

		ret.append(":::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::");
		
		for(String ln : lines) {
			ret.append("\r\n");
			ret.append(ln);
		}
		ret.append("\r\n");
		ret.append("\r\n");
		ret.append("::::::::::::::::: Starter StackGen (v."
				+ SystemConstants.IGNITE_MAJOR_VERSION + "."
				+ SystemConstants.IGNITE_MINOR_VERSION
				+ ") - http://starter.io/ignite :::::::::::::::::");
		return ret.toString();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy