public class TemporalFormatValidator extends Object implements FormatValidator
NONE| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
validate(String subject)
Implementation-specific validation of
subject. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforFormat, formatNamepublic Optional<String> validate(String subject)
FormatValidatorsubject. If a validation error occurs then
implementations should return a programmer-friendly error message as a String wrapped in an
Optional. If the validation succeeded then an empty optional should be
returned.validate in interface FormatValidatorsubject - the string to be validatedOptional wrapping the error message if a validation error occured, otherwise
an empty optional.Copyright © 2018 Everit Kft.. All rights reserved.