class CloudLocalUtils {

    public static String getValue(String server, String key) throws IOException {<FILL_FUNCTION_BODY>}
}

        if (Utils.isEmpty(server)) {
            //默认目录
            String resourceKey = "META-INF/solon-cloud/" + key;
            return ResourceUtil.getResourceAsString(resourceKey);
        } else if (server.startsWith(Utils.TAG_classpath)) {
            //资源目录
            String resourceKey = server.substring(Utils.TAG_classpath.length()) + key;
            return ResourceUtil.getResourceAsString(resourceKey);
        } else {
            //本地目录
            File resourceFile = new File(server, key);
            if (resourceFile.exists()) {
                return IoUtil.transferToString(new FileInputStream(resourceFile));
            } else {
                return null;
            }
        }
    
<no_super_class>