Class ImageBanner

java.lang.Object
org.springframework.boot.ImageBanner
All Implemented Interfaces:
Banner

public class ImageBanner extends Object implements Banner
Banner implementation that prints ASCII art generated from an image resource Resource.
Since:
1.4.0
Author:
Craig Burke, Phillip Webb, Madhura Bhave, Raja Kolli
  • Constructor Details

    • ImageBanner

      public ImageBanner(Resource image)
  • Method Details

    • printBanner

      public void printBanner(Environment environment, Class<?> sourceClass, PrintStream out)
      Description copied from interface: Banner
      Print the banner to the specified print stream.
      Specified by:
      printBanner in interface Banner
      Parameters:
      environment - the spring environment
      sourceClass - the source class for the application
      out - the output print stream