Class NonEmptyFileNameConstraint

    • Constructor Detail

      • NonEmptyFileNameConstraint

        public NonEmptyFileNameConstraint()
    • Method Detail

      • apply

        public void apply​(String fileName,
                          String path)
        Validates that a filename meets a defined constraint
        Specified by:
        apply in interface FileNameConstraint
        Parameters:
        fileName - the filename to validate
        path - the path the filename is part of. This is supplied for context and is not validated