InterpolationHelper.SubstitutionCallback callback = new InterpolationHelper.BundleContextSubstitutionCallback(null); for (Enumeration<?> e = props.propertyNames(); e.hasMoreElements();) { String name = (String) e.nextElement();
throws IllegalArgumentException return substVars(val, currentKey, cycleMap, configProps, new BundleContextSubstitutionCallback(context));
throws IllegalArgumentException return substVars(val, currentKey, cycleMap, configProps, new BundleContextSubstitutionCallback(context));
throws IllegalArgumentException return substVars(val, currentKey, cycleMap, configProps, new BundleContextSubstitutionCallback(context));
throws IllegalArgumentException return substVars(val, currentKey, cycleMap, configProps, new BundleContextSubstitutionCallback(context));
public Properties(File location, BundleContext context) throws IOException { this(location, new InterpolationHelper.BundleContextSubstitutionCallback(context)); }
public Properties(File location, BundleContext context) throws IOException { this(location, new InterpolationHelper.BundleContextSubstitutionCallback(context)); }
public Properties(File location, BundleContext context) throws IOException { this(location, new InterpolationHelper.BundleContextSubstitutionCallback(context)); }
public Properties(File location, BundleContext context) throws IOException { this(location, new InterpolationHelper.BundleContextSubstitutionCallback(context)); }
/** * Perform substitution on a property set * * @param properties the property set to perform substitution on * @param context The bundle context */ public static void performSubstitution(Map<String,String> properties, BundleContext context) { performSubstitution(properties, new BundleContextSubstitutionCallback(context)); }
/** * Perform substitution on a property set * * @param properties the property set to perform substitution on */ public static void performSubstitution(Map<String,String> properties, BundleContext context) { performSubstitution(properties, new BundleContextSubstitutionCallback(context)); }
/** * Perform substitution on a property set * * @param properties the property set to perform substitution on * @param context The bundle context */ public static void performSubstitution(Map<String,String> properties, BundleContext context) { performSubstitution(properties, new BundleContextSubstitutionCallback(context)); }
/** * Perform substitution on a property set * * @param properties the property set to perform substitution on * @param context The bundle context */ public static void performSubstitution(Map<String,String> properties, BundleContext context) { performSubstitution(properties, new BundleContextSubstitutionCallback(context)); }
public void substitute(InterpolationHelper.SubstitutionCallback callback) { if (callback == null) { callback = new InterpolationHelper.BundleContextSubstitutionCallback(null); } InterpolationHelper.performSubstitution(storage, callback); }
public void substitute(InterpolationHelper.SubstitutionCallback callback) { if (callback == null) { callback = new InterpolationHelper.BundleContextSubstitutionCallback(null); } InterpolationHelper.performSubstitution(storage, callback); }
public void substitute(InterpolationHelper.SubstitutionCallback callback) { if (callback == null) { callback = new InterpolationHelper.BundleContextSubstitutionCallback(null); } InterpolationHelper.performSubstitution(storage, callback); }
TypedProperties.SubstitutionCallback bundleSubstitution() { final InterpolationHelper.SubstitutionCallback cb = new InterpolationHelper.BundleContextSubstitutionCallback(context); return new TypedProperties.SubstitutionCallback() { @Override public String getValue(String name, String key, String value) { return cb.getValue(value); } }; }