Package org.beryx.textio
Class InputReader.ParseResult<T>
- java.lang.Object
-
- org.beryx.textio.InputReader.ParseResult<T>
-
- Type Parameters:
T-
- Enclosing class:
- InputReader<T,B extends InputReader<T,B>>
public static class InputReader.ParseResult<T> extends java.lang.ObjectA holder object returned by theInputReader.parse(String)method, containing the parsed value and/or the error messages.
-
-
Constructor Summary
Constructors Constructor Description ParseResult(T value)ParseResult(T value, java.lang.String... errorMessages)ParseResult(T value, java.util.List<java.lang.String> errorMessages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getErrorMessages()TgetValue()
-
-
-
Method Detail
-
getValue
public T getValue()
-
getErrorMessages
public java.util.List<java.lang.String> getErrorMessages()
-
-