Interface InputReader.ErrorMessagesProvider

  • Enclosing class:
    InputReader<T,​B extends InputReader<T,​B>>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface InputReader.ErrorMessagesProvider
    Functional interface for providing error messages
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getErrorMessages​(java.lang.String sVal, java.lang.String itemName)
      Returns the list of error messages for the given string representation of the value
    • Method Detail

      • getErrorMessages

        java.util.List<java.lang.String> getErrorMessages​(java.lang.String sVal,
                                                          java.lang.String itemName)
        Returns the list of error messages for the given string representation of the value
        Parameters:
        sVal - the string representation of the value
        itemName - the name of the item corresponding to this value. May be null.
        Returns:
        - the list of error messages or null if no error has been detected.