uk.co.mruoc.file.property.FakePropertyLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of file-loader Show documentation
Show all versions of file-loader Show documentation
Code library to easily load files and file from the classpath or file system file
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