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
Modifier and TypeClassDescriptionstatic enum
Pixel modes supported by the image banner.Nested classes/interfaces inherited from interface org.springframework.boot.Banner
Banner.Mode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
printBanner
(Environment environment, Class<?> sourceClass, PrintStream out) Print the banner to the specified print stream.
-
Constructor Details
-
ImageBanner
-
-
Method Details
-
printBanner
Description copied from interface:Banner
Print the banner to the specified print stream.- Specified by:
printBanner
in interfaceBanner
- Parameters:
environment
- the spring environmentsourceClass
- the source class for the applicationout
- the output print stream
-