Here you can find the source of getValue(Properties properties, String key)
public static String getValue(Properties properties, String key)
//package com.java2s; //License from project: Open Source License import java.util.*; public class Main { public static String getValue(Properties properties, String key) { if (properties == null || key == null || key.isEmpty()) { return ""; }//w ww. jav a 2s. c om return properties.getProperty(key, ""); } }