private String findPropertiesFile(final String directory){
  final File f=new File(directory,DEFAULT_OPENDJ_PROPERTIES_FILE_NAME + DEFAULT_OPENDJ_PROPERTIES_FILE_EXTENSION);
  if (f.exists() && f.canRead()) {
    return f.getAbsolutePath();
  }
  return null;
}

private String findPropertiesFile ( final String directory ) { final File f = new File ( directory , DEFAULT_OPENDJ_PROPERTIES_FILE_NAME + DEFAULT_OPENDJ_PROPERTIES_FILE_EXTENSION ) ; if ( f . exists ( ) && f . canRead ( ) ) { return f . getAbsolutePath ( ) ; } return null ; }
get the absolute path of the properties file .
