Class MinLengthValidator

java.lang.Object
games.stendhal.server.core.account.MinLengthValidator
All Implemented Interfaces:
AccountParameterValidator

public class MinLengthValidator extends Object implements AccountParameterValidator
validates that the given parameter is provided has a minimum length.
Author:
hendrik
  • Constructor Details

    • MinLengthValidator

      public MinLengthValidator(String parameterValue, int minLength)
      create a new MinLengthValidator.
      Parameters:
      parameterValue - value to validate
      minLength - minimum required length
  • Method Details