java.lang.Object
org.miaixz.bus.spring.banner.AbstractBanner
org.miaixz.bus.spring.banner.TextBanner
- All Implemented Interfaces:
org.springframework.boot.Banner
旗标生成器
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.boot.Banner
org.springframework.boot.Banner.Mode -
Field Summary
Fields inherited from class org.miaixz.bus.spring.banner.AbstractBanner
banner, defaultBanner, resourceClass, resourceLocation -
Constructor Summary
ConstructorsConstructorDescriptionTextBanner(Class<?> resourceClass, String resourceLocation, String defaultBanner) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringprintBanner(String bannerText) voidprintBanner(org.springframework.core.env.Environment environment, Class<?> sourceClass, PrintStream printStream) Methods inherited from class org.miaixz.bus.spring.banner.AbstractBanner
getBanner, getPlainBanner, initialize
-
Constructor Details
-
TextBanner
public TextBanner() -
TextBanner
-
-
Method Details
-
printBanner
public void printBanner(org.springframework.core.env.Environment environment, Class<?> sourceClass, PrintStream printStream) - Specified by:
printBannerin interfaceorg.springframework.boot.Banner
-
printBanner
- Specified by:
printBannerin classAbstractBanner
-