public static DefaultRosterStore open ( final File baseDir ) { DefaultRosterStore store = new DefaultRosterStore ( baseDir ) ; String s = store . readFile ( store . getVersionFile ( ) ) ; if ( s != null && s . startsWith ( STORE_ID + "\n" ) ) { return store ; } else { return null ; } }
Opens a roster store