Code example for Properties

Methods: put

public class javaNameParser implements NameParser 
    static Properties syntax = new Properties();
      syntax.put("jndi.syntax.direction", "left_to_right");
      syntax.put("jndi.syntax.separator", "/");
      syntax.put("jndi.syntax.ignorecase", "false");
    * Parse a name into its components. 
    * @param  name The non-null string name to parse. 
    * @return A non-null parsed form of the name using the naming convention 
    * of this parser. 
    * @exception NamingException If a naming exception was encountered. 
Stop searching for code, let great code find you!  Add Codota to your java IDE