| Constructor and Description |
|---|
LinkedAdapter(LinkedList<Adapter> list)
Create a linked adapter.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
adapt(Object input)
Convert the given input into the output type.
|
boolean |
canAdapt(Object input)
Return true if the given input can be transformed.
|
Class |
getInputType()
Return the class of the input type.
|
Class |
getOutputType()
Return the class of the output type.
|
public LinkedAdapter(LinkedList<Adapter> list)
public Class getInputType()
AdaptergetInputType in interface Adapterpublic Class getOutputType()
AdaptergetOutputType in interface Adapterpublic boolean canAdapt(Object input)
Adapterpublic Object adapt(Object input) throws AdapterException
Adapteradapt in interface AdapterAdapterExceptionCopyright © 2019. All rights reserved.