public int port(Properties props){
  return Integer.parseInt(props.getProperty(PORT_PROPERTY_KEY,"3306"));
}

public int port ( Properties props ) { return Integer . parseInt ( props . getProperty ( PORT_PROPERTY_KEY , "3306" ) ) ; }
returns the port number property
