public class DefaultInputHandler<ReturnType> extends Object implements InputHandler<ReturnType>
ObjectUtil.convert(Object, Class)| Constructor and Description |
|---|
DefaultInputHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected IllegalArgumentException |
addPrefixToExceptionMessage(IllegalArgumentException ex,
String input) |
ReturnType |
parseInput(String input,
Class<ReturnType> returnType)
Converts the given input into the correct return type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldAllowEmptyInputpublic ReturnType parseInput(String input, Class<ReturnType> returnType) throws IllegalArgumentException
InputHandlerparseInput in interface InputHandler<ReturnType>IllegalArgumentException - if the input is not validprotected IllegalArgumentException addPrefixToExceptionMessage(IllegalArgumentException ex, String input)
Copyright © 2023 Liquibase.org. All rights reserved.