Class FilePatternResourceHintsRegistrar
java.lang.Object
org.springframework.aot.hint.support.FilePatternResourceHintsRegistrar
Register the necessary resource hints for loading files from the classpath.
 
Candidates are identified by a file name, a location, and an extension. The location can be the empty string to refer to the root of the classpath.
- Since:
- 6.0
- Author:
- Stephane Nicoll
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidregisterHints(ResourceHints hints, ClassLoader classLoader) 
- 
Constructor Details- 
FilePatternResourceHintsRegistrarpublic FilePatternResourceHintsRegistrar(List<String> names, List<String> locations, List<String> extensions) Create a new instance for the specified file names, locations, and file extensions.- Parameters:
- names- the file names
- locations- the classpath locations
- extensions- the file extensions (starts with a dot)
 
 
- 
- 
Method Details- 
registerHints
 
-