org.springframework.boot

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
    Author:
    Craig Burke, Phillip Webb
    • 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

Copyright © 2016 Pivotal Software, Inc.. All rights reserved.