Wrapper

What Does Wrapper Mean?

In the context of software engineering, a wrapper is defined as an entity that encapsulates and hides the underlying complexity of another entity by means of well-defined interfaces.

Advertisements

Techopedia Explains Wrapper

Patterns and frameworks form an integral component of software engineering. A wrapper pattern is a class with a special interface that allows incompatible classes to work together. Two classes may not be able to perform a data transfer due to the presence of incompatible data access points. For example, if a class accepts a date in DD/MM/YY format from another class that generates a date in MM/DD/YYYY format, neither of the classes can coexist to operate as an integrated module because their data formats are different. The wrapper class solves this problem by converting the data into a compatible format.

Advertisements

Related Terms

Latest Privacy and Compliance Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…