1 19 package gcc.properties; 20 21 import gcc.*; 22 23 public class SystemPropertyLog 24 { 25 public static SystemPropertyLog getInstance(String instanceName) 26 { 27 SystemPropertyLog log = new SystemPropertyLog(); 28 log.init(instanceName); 29 return log; 30 } 31 32 36 private String _instanceName; 37 38 42 public String getInstanceName() 43 { 44 return _instanceName; 45 } 46 47 51 protected void init(String instanceName) 52 { 53 _instanceName = instanceName; 54 } 55 56 60 public void debugUsingValue(String value) 61 { 62 System.out.println( "SystemPropertyLog.debugUsingValue(): value: " + value ); 63 } 64 65 public void debugUsingDefaultValue(String defaultValue) 66 { 67 System.out.println( "SystemPropertyLog.debugUsingValue(): defaultValue: " + defaultValue ); 68 } 69 } 70 | Popular Tags |