Package com.bobocode.bring.core.env.impl
Class BringPropertiesSourceScanner
java.lang.Object
com.bobocode.bring.core.env.impl.BringPropertiesSourceScanner
- All Implemented Interfaces:
BringSourceScanner
Implementation of BringSourceScanner for scanning properties files based on a specified type.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
APPLICATION
- See Also:
-
-
Constructor Details
-
BringPropertiesSourceScanner
public BringPropertiesSourceScanner()
-
-
Method Details
-
scan
Scans for files of the specified type.- Specified by:
scan
in interfaceBringSourceScanner
- Parameters:
type
- The type of files to scan for.- Returns:
- A list of File objects representing the scanned files of the specified type.
-
loadAllProperties
Loads all properties files of a specified type.- Parameters:
type
- The type of properties files to load.- Returns:
- A list of File objects representing the loaded properties files.
-