Package com.bobocode.bring.core.env
Interface BringSourceLoader
- All Known Implementing Classes:
BringPropertySourceLoader
public interface BringSourceLoader
Interface for a Bring source loader, defining methods to retrieve file extensions and load resources.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Method Summary
-
Method Details
-
getFileExtensions
String getFileExtensions()Retrieves the file extensions supported by this source loader.- Returns:
- A string representing the file extensions supported by this loader.
-
load
Loads a resource by the given name.- Parameters:
name
- The name of the resource to be loaded.- Returns:
- A map containing data loaded from the specified resource.
-