Input - input typeOutput - output typepublic interface Adapter<Input,Output> extends Plugin
| Modifier and Type | Method and Description |
|---|---|
Output |
adapt(Input input)
Convert the given input into the output type.
|
boolean |
canAdapt(Input input)
Return true if the given input can be transformed.
|
Class<Input> |
getInputType()
Return the class of the input type.
|
Class<Output> |
getOutputType()
Return the class of the output type.
|
Copyright © 2017. All rights reserved.