Class FilePatternResourceHintsRegistrar
java.lang.Object
org.springframework.aot.hint.support.FilePatternResourceHintsRegistrar
Register the necessary resource hints for loading files from the classpath,
 based on file name prefixes and file extensions with convenience to support
 multiple classpath locations.
 
Only registers hints for matching classpath locations, which allows for several locations to be provided without contributing unnecessary hints.
- Since:
- 6.0
- Author:
- Stephane Nicoll, Sam Brannen, Juergen Hoeller
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classBuilder forFilePatternResourceHintsRegistrar.
- 
Method SummaryModifier and TypeMethodDescriptionforClassPathLocations(String... classpathLocations) Configure the registrar with the specified classpath locations.forClassPathLocations(List<String> classpathLocations) Configure the registrar with the specified classpath locations.
- 
Method Details- 
forClassPathLocationspublic static FilePatternResourceHintsRegistrar.Builder forClassPathLocations(String... classpathLocations) Configure the registrar with the specified classpath locations.- Parameters:
- classpathLocations- the classpath locations
- Returns:
- a FilePatternResourceHintsRegistrar.Builderto further configure the registrar
- Since:
- 6.0.12
- See Also:
 
- 
forClassPathLocationspublic static FilePatternResourceHintsRegistrar.Builder forClassPathLocations(List<String> classpathLocations) Configure the registrar with the specified classpath locations.- Parameters:
- classpathLocations- the classpath locations
- Returns:
- a FilePatternResourceHintsRegistrar.Builderto further configure the registrar
- Since:
- 6.0.12
- See Also:
 
 
-