/*
 * Copyright 2012-2013 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.bootstrap;

import java.io.PrintStream;

/**
 * Writes the 'Spring Bootstrap' banner.
 * 
 * @author Phillip Webb
 */
abstract class Banner {

	private static final String[] BANNER = {
			"  .   ____          _            ____           _       _                __ _   ",
			" /\\\\ / ___'_ __ _ _(_)_ __  __ _| __ ) ___  ___| |_ ___| |_ _ _ __ _ _ __\\ \\ \\  ",
			"( ( )\\___ | '_ | '_| | '_ \\/ _` |  _ \\/ _ \\/ _ | __/ __| __| '_/ _` | '_ \\\\ \\ \\ ",
			" \\\\/  ___)| |_)| | | | | || (_| | |_)| (_)| (_)| |_\\__ | |_| || (_| | |_) |} } }",
			"  '  |____| .__|_| |_|_| |_\\__, |____/\\___/\\___/\\__|___/\\__|_| \\__,_| .__// / / ",
			" =========|_|==============|___/====================================|_|==/_/_/  " };

	/**
	 * Write the banner to the specified print stream.
	 * @param printStream the output print stream
	 */
	public static void write(PrintStream printStream) {
		printStream.println();
		for (String line : BANNER) {
			printStream.println(line);
		}
		printStream.println();
		printStream.println();
	}

}

@@ -869,33 +869,14 @@
     
+ 
 ____
-           _       _ 
+_
     
@@ -888,17 +888,12 @@
     
-  
 __ _
-   
 %22,%0A%09
@@ -933,47 +933,26 @@
 __ _
-%7C
  
+%7C
 __ 
-) ___  ___%7C %7C_ ___%7C %7C_ _ _ __ _ _ 
+  /___ _ __ _
 __%5C%5C
@@ -957,18 +957,16 @@
 %5C%5C %5C%5C %5C%5C
-  
 %22,%0A%09%09%09%22(
@@ -1005,47 +1005,25 @@
  %7C  
-_ %5C%5C/ _ %5C%5C/ _ %7C __/ __%7C __%7C
+/  // _ %5C%5C
  '_
+_
 / _
-%60 %7C '_
  %5C%5C%5C
@@ -1029,17 +1029,16 @@
 %5C%5C %5C%5C %5C%5C
- 
 %22,%0A%09%09%09%22 
@@ -1076,47 +1076,25 @@
 %7C %7C 
-%7C_)%7C (_)%7C (_)%7C %7C_%5C%5C__ %7C %7C_%7C %7C%7C (_%7C %7C %7C_
+/  /%7C  __/ %7C %7C (/
 ) %7C%7D
@@ -1142,59 +1142,35 @@
 _, %7C
+'
 __
-__/%5C%5C
 ___
-/
 %5C%5C___
-/%5C%5C__%7C___/%5C%5C__%7C_%7C %5C%5C__,_%7C .
+%7C_%7C  %5C%5C_
 __// / /
  %22,%0A
@@ -1165,17 +1165,16 @@
 __// / /
- 
 %22,%0A%09%09%09%22 
@@ -1228,36 +1228,13 @@
 ====
-===
-=============%7C_%7C==
 /_/_/
-  
 %22 %7D;

Use SpringZero Banner