Here you can find the source of getBoolean(Properties props, String name, boolean defaultValue)
public static boolean getBoolean(Properties props, String name, boolean defaultValue)
//package com.java2s; //License from project: Open Source License import java.util.*; public class Main { public static boolean getBoolean(Properties props, String name, boolean defaultValue) { if (!props.containsKey(name)) return defaultValue; return "true".equalsIgnoreCase(props.getProperty(name)); }/*from ww w. java 2s . c o m*/ }