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

uk.co.mruoc.file.property.FakePropertyLoader Maven / Gradle / Ivy

Go to download

Code library to easily load files and file from the classpath or file system file

There is a newer version: 7.0.4
Show newest version
package uk.co.mruoc.file.property;

import java.util.Properties;

public class FakePropertyLoader implements PropertyLoader {

    private String path;
    private Properties properties;

    @Override
    public Properties load(String path) {
        this.path = path;
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public String getLastLoadedPath() {
        return path;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy