Hi Mariusz By the way, ResourceReader could also implement directly the java.io.Reader interface. However, in such case, the contract would oblige us to implement all its methods (and test them all...). Therefore, in my opinion, it is simpler to just encapsulate. Greetings Erik Poupaert