previous | start | next

The ADAPTER Pattern

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 | start | next