Class BooleanValidation

  • All Implemented Interfaces:
    Validation

    public class BooleanValidation
    extends java.lang.Object
    implements Validation
    The Class BooleanValidation. Checks if given input string is a boolean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean validate​(java.lang.String input)
      Validate the given input string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BooleanValidation

        public BooleanValidation()
    • Method Detail

      • validate

        public boolean validate​(java.lang.String input)
        Validate the given input string.
        Specified by:
        validate in interface Validation
        Parameters:
        input - the input string to validate
        Returns:
        true, if validation was successful otherwise false
        See Also:
        Validation.validate(java.lang.String)