Intent: Separate the construction of a complex object from its representation so that the same construction process can create different representations. Motivation: A RTF (Rich Text Format) reader application should be able to convert a RTF document to several formats like: plain text or TeX representation or into a text widget which allows users to directly interact. The problem here is, the number of possible conversions is open ended. So, it should be easy to add a new conversion without modifying the reader. A solution to this problem is, the RTFReader class uses a TextConverter object that converts RTF
The post What is builder pattern in Design patterns appeared first on Coding Security.
What is builder pattern in Design patterns
read more
Tidak ada komentar:
Posting Komentar