public class PropertyUtil extends Object
public static <T> T handle(org.springframework.core.env.Environment environment,
String prefix,
Class<T> targetClass)
T - : refer to @param targetClassenvironment - : the environment contextprefix - : the prefix part of property keytargetClass - : the target class type of resultCopyright © 2024. All rights reserved.