getNextDatabase (DbDirectory - Java)

Returns the next database from a server or the local directory, using the file type specified in the preceding getFirstDatabase method.

Defined in

DbDirectory

Syntax

public Database getNextDatabase()
    throws NotesException

Return value

Database

The next database located in the directory, or null if there are no more.

Usage

The returned database is closed. If you do not open the database, only a subset of its methods are available. See isOpen in Database.

This method must be preceded in the code by getFirstDatabase.

Example