Class FilePathNamingValidator


  • public class FilePathNamingValidator
    extends java.lang.Object
    Since:
    5.0
    • Constructor Detail

      • FilePathNamingValidator

        public FilePathNamingValidator​(FilePathRestrictions... rules)
        Parameters:
        rules - the rules to apply in validating file naming
    • Method Detail

      • validateFilePathNaming

        public void validateFilePathNaming​(java.lang.String filePath)
                                    throws FilePathNamingException
        Validate the given file path.
        Parameters:
        filePath - the file path
        Throws:
        FilePathNamingException - if the file path is invalidly named