1 18 19 package org.objectweb.speedo.generation.start; 20 21 import java.io.PrintWriter ; 22 23 24 27 abstract class ResourceLocatorBase 28 extends Support 29 implements ResourceLocator 30 { 31 protected final PrintWriter out; 33 protected final boolean verbose; 34 35 38 public ResourceLocatorBase(PrintWriter out, 39 boolean verbose) 40 { 41 Assertion.assertion(out != null); 42 this.out = out; 43 this.verbose = verbose; 44 } 45 46 51 public void printMessage(String msg) 52 { 53 if (verbose) { 54 out.println(getI18N("enhancer.message", msg)); 55 } 56 } 57 } 58 | Popular Tags |