Java Dictionary Usage setProperty(Dictionary properties, String key, String value)

Here you can find the source of setProperty(Dictionary properties, String key, String value)

Description

set Property

License

Open Source License

Declaration

public static void setProperty(Dictionary<String, String> properties, String key, String value) 

Method Source Code

//package com.java2s;
//  are made available under the terms of the Eclipse Public License v1.0

import java.util.Dictionary;

public class Main {
    public static void setProperty(Dictionary<String, String> properties, String key, String value) {
        if (value != null) {
            properties.put(key, value);//from  w w  w  .j a v a 2s.  co m
        }
    }
}

Related

  1. getState(Dictionary conf, String property)
  2. getString(Dictionary p, Object key, String defaultValue)
  3. isNullOrNothing(final Object[] array)
  4. parseRequestOption(Dictionary conf, String confParam, Map requestOptions)
  5. setDefault(Dictionary dict, String key, String value)
  6. updateConfigurableListField(Dictionary properties, String propertyName)