public class PlotterAdapterLookup extends Object
PlotterAdapter
instances.
This lookup can also chain pairs of registered adapters.Constructor and Description |
---|
PlotterAdapterLookup() |
Modifier and Type | Method and Description |
---|---|
PlotterAdapter |
adapter(Class from,
Class to)
Returns an adapter for conversion between the specified type, or null if none found.
|
void |
registerAdapter(PlotterAdapter adapter,
Class from,
Class to)
Adds the specified adapter to this lookup.
|
public void registerAdapter(PlotterAdapter adapter, Class from, Class to)
public PlotterAdapter adapter(Class from, Class to)
Copyright © 2019. All rights reserved.