public static boolean loadProperties(Properties properties,InputStream propsIn){
  try {
    properties.load(propsIn);
    return true;
  }
 catch (  java.io.IOException e) {
    if (logger.isLoggable(Level.FINE)) {
      logger.warning("Caught IOException loading properties from InputStream.");
    }
    return false;
  }
}

public static boolean loadProperties ( Properties properties , InputStream propsIn ) { try { properties . load ( propsIn ) ; return true ; } catch ( java . io . IOException e ) { if ( logger . isLoggable ( Level . FINE ) ) { logger . warning ( "Caught IOException loading properties from InputStream." ) ; } return false ; } }
loads properties from a java resource . this will load the named resource identifier into the given properties instance .
