Interface YamlResourceLoader
@Beta
public interface YamlResourceLoader
Util to load a YML resource and convert to a POJO .
-
Method Summary
Modifier and TypeMethodDescription<T> TloadResource(String resourceName, Class<T> toValueType) Loads the YML resource and returns object
-
Method Details
-
loadResource
Loads the YML resource and returns object- Parameters:
resourceName- YML file resource co-located with plugin source.toValueType- converts to this type.- Returns:
- Returns object of the specified type
-