SE450: The ADAPTER Pattern [9/55] Previous pageContentsNext page

Name in Design Pattern
Actual Name (Stream->Reader)
Adaptee
InputStream
Target
Reader
Adapter
InputStreamReader
Client
The class that wants to read text from an input stream
targetMethod()
read (reading a character)
adapteeMethod()
read (reading a byte)

Previous pageContentsNext page