public static Printer create(Printer printer,String prefix){
  if (prefix == null || prefix.equals("")) {
    return printer;
  }
  return new PrefixPrinter(printer,prefix);
}

public static Printer create ( Printer printer , String prefix ) { if ( prefix == null || prefix . equals ( "" ) ) { return printer ; } return new PrefixPrinter ( printer , prefix ) ; }
creates a new prefixprinter . < p > if prefix is null or empty , the provided printer is returned , rather than making a prefixing printer .
