Package org.springframework.boot
Class ResourceBanner
java.lang.Object
org.springframework.boot.ResourceBanner
- All Implemented Interfaces:
Banner
Banner implementation that prints from a source text
Resource.- Since:
- 1.2.0
- Author:
- Phillip Webb, Vedran Pavic, Toshiaki Maki
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.boot.Banner
Banner.Mode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetApplicationTitle(Class<?> sourceClass) protected StringgetApplicationVersion(Class<?> sourceClass) protected Stringprotected List<PropertyResolver>getPropertyResolvers(Environment environment, Class<?> sourceClass) voidprintBanner(Environment environment, Class<?> sourceClass, PrintStream out) Print the banner to the specified print stream.
-
Constructor Details
-
ResourceBanner
-
-
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
-
getPropertyResolvers
protected List<PropertyResolver> getPropertyResolvers(Environment environment, Class<?> sourceClass) -
getApplicationVersion
-
getBootVersion
-
getApplicationTitle
-