Here you can find the source of printProperties(String TAG, Properties props)
public static void printProperties(String TAG, Properties props)
//package com.java2s; import java.util.Enumeration; import java.util.Properties; import android.util.Log; public class Main { public static void printProperties(String TAG, Properties props) { @SuppressWarnings("unchecked") Enumeration<String> propNames = (Enumeration<String>) props .propertyNames();/*from w w w . j a v a 2s. c om*/ while (propNames.hasMoreElements()) { String propName = propNames.nextElement(); Log.d(TAG, propName + "=" + props.getProperty(propName)); } } }