Readd File to Index#324

This commit is contained in:
Joseph McCarthy 2015-12-28 22:13:05 +00:00
parent 749880e3b9
commit 52d6e20ad9

View File

@ -0,0 +1,21 @@
package com.iluwatar.delegation.simple.printers;
import com.iluwatar.delegation.simple.Printer;
/**
* Specialised Implementation of {@link Printer} for a HP Printer, in
* this case the message to be printed is appended to "HP Printer : "
*
* @see Printer
*/
public class HpPrinter implements Printer {
/**
* {@inheritDoc}
*/
@Override
public void print(String message) {
System.out.println("HP Printer : " + message);
}
}