An adapter is a software design pattern which converts interfaces from one class to another, ensuring that they are compatible with one anther in the process. Adapters are comparable to translators, for an example two applications may still be able to exchange information with one another, even if one requires XML and the other JSON, if an adapter is used to “translate” the data.
← Browse