uk.co.mruoc.file.PathValidator 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
The newest version!
package uk.co.mruoc.file;
import org.apache.commons.lang3.StringUtils;
public class PathValidator {
public void validate(String path) {
if (StringUtils.isEmpty(path)) {
throw new FileLoadException("path should not be null or empty");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy