public boolean loadProperties(URL url,Properties props){
  try {
    InputStream propsIn=url.openStream();
    props.load(propsIn);
    return true;
  }
 catch (  java.io.IOException e) {
    return false;
  }
}

public boolean loadProperties ( URL url , Properties props ) { try { InputStream propsIn = url . openStream ( ) ; props . load ( propsIn ) ; return true ; } catch ( java . io . IOException e ) { return false ; } }
loads properties from a java resource . this will load the named resource identifier into the given properties instance .
