Class 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
    • Constructor Detail

      • ImageBanner

        public ImageBanner​(org.springframework.core.io.Resource image)
    • Method Detail

      • printBanner

        public void printBanner​(org.springframework.core.env.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