All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nutz.cloud.config.CloudConfigureLoader Maven / Gradle / Ivy

There is a newer version: 2.5.1.v20220215
Show newest version
package org.nutz.cloud.config;

import java.io.IOException;

import org.nutz.boot.config.impl.PropertiesConfigureLoader;

public class CloudConfigureLoader extends PropertiesConfigureLoader {
    
    public CloudConfigureLoader() {
        CloudConfig.init();
    }

    protected void readPropertiesPath(String path) throws IOException {
        if (path.contains("/") || path.contains("\\"))
            super.readPropertiesPath(path);
        else {
            CloudConfig.fromRemote(conf, path);
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy