类 ImageBanner

  • 所有已实现的接口:
    Banner

    public class ImageBanner
    extends Object
    implements Banner
    Banner implementation that prints ASCII art generated from an image resource Resource.
    从以下版本开始:
    1.4.0
    • 构造器详细资料

      • ImageBanner

        public ImageBanner​(org.springframework.core.io.Resource image)
    • 方法详细资料

      • printBanner

        public void printBanner​(org.springframework.core.env.Environment environment,
                                Class<?> sourceClass,
                                PrintStream out)
        从接口复制的说明: Banner
        Print the banner to the specified print stream.
        指定者:
        printBanner 在接口中 Banner
        参数:
        environment - the spring environment
        sourceClass - the source class for the application
        out - the output print stream