September 09, 2003

Structural Pattern – Adapter

“Convert the interface of a class into another interface clients expect”

• Also known as a wrapper

• Directly analogous to power adapters (e.g. 230V to 110V or vice versa)

• The client is unaware of conversions

Links:

http://www.dofactory.com/Patterns/PatternAdapter.aspx

Adapter pattern discussion