isDatabase

open override fun isDatabase(path: Path): Boolean

There is no way to guarantee with 100 percent certainty that the path is in fact an embedded derby database because someone could be faking the directory structure. The database directory of an embedded derby database must have a service.properties file, a log directory, and a seg0 directory. If these exist and the supplied path is a directory, then the method returns true.

Return

true if it could be an embedded derby database

Parameters

path

the path to check, must not be null