Package org.springframework.boot
Class ImageBanner
java.lang.Object
org.springframework.boot.ImageBanner
- All Implemented Interfaces:
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPixel modes supported by the image banner.Nested classes/interfaces inherited from interface org.springframework.boot.Banner
Banner.Mode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprintBanner(Environment environment, Class<?> sourceClass, PrintStream out) Print the banner to the specified print stream.
-
Constructor Details
-
ImageBanner
-
-
Method Details
-
printBanner
Description copied from interface:BannerPrint the banner to the specified print stream.- Specified by:
printBannerin interfaceBanner- Parameters:
environment- the spring environmentsourceClass- the source class for the applicationout- the output print stream
-