Examples: getURLDatabase method
This application opens the default Web navigator database.
import lotus.domino.*;
class geturldb extends NotesThread
{
public static void main(String argv[])
{
geturldb t = new geturldb();
t.start();
}
public void runNotes()
{
try
{
Session s = NotesFactory.createSession();
Database db = s.getURLDatabase();
System.out.println
("Title of URL database: \"" + db.getTitle() + "\"");
if (db.isOpen()) System.out.println("Is open");
else System.out.println("Not open");
}
catch (Exception e)
{
e.printStackTrace();
}
}
}