WorkingCopyFormat (final File path) { WorkingCopyFormat result = null; File dbFile = resolveDatabase(path); if (dbFile != null) { result = FileUtilRt.doIOOperation(new SqLiteJdbcWorkingCopyFormatOperation(dbFile)); if (result == null) { notifyDatabaseError(); } } return result != null ? result : WorkingCopyFormat.UNKNOWN; }