public void parse(Database db, XHTMLContentHandler xhtml) throws IOException, SAXException, TikaException { String pw = db.getDatabasePassword(); if (pw != null) { parentMetadata.set(JackcessParser.MDB_PW, pw);
String pwd = dbRef.getDbIO().getDatabasePassword(); if (pwd != null && !_props.containsKey("jackcessopener")) { if (!pwd.equals(_props.get("password"))) {
private static boolean hasPassword(File fl) throws IOException { Database db; try { db = DatabaseBuilder.open(fl); } catch (IOException e) { DatabaseBuilder dbb = new DatabaseBuilder(); dbb.setReadOnly(true); dbb.setFile(fl); db = dbb.open(); } String pwd = db.getDatabasePassword(); db.close(); return pwd != null; }
public void parse(Database db, XHTMLContentHandler xhtml) throws IOException, SAXException, TikaException { String pw = db.getDatabasePassword(); if (pw != null) { parentMetadata.set(JackcessParser.MDB_PW, pw);
public void parse(Database db, XHTMLContentHandler xhtml) throws IOException, SAXException, TikaException { String pw = db.getDatabasePassword(); if (pw != null) { parentMetadata.set(JackcessParser.MDB_PW, pw);