public class DatabaseFileConfig extends Object
SystemCapability.Data#DATA_APPDATAMGR| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
DatabaseFileConfig.Builder |
Represents a builder of
DatabaseFileConfig objects. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
DatabaseFileSecurityLevel |
getDatabaseFileSecurityLevel() |
Obtains the security level of the database file.
|
DatabaseFileType |
getDatabaseFileType() |
Obtains the database file type.
|
String |
getName() |
Obtains the database file name.
|
boolean |
isEncrypted() |
Checks whether the database file is encrypted.
|
public String getName()
public boolean isEncrypted()
true if the database file is encrypted; returns false otherwise.public DatabaseFileType getDatabaseFileType()
DatabaseFileType.public DatabaseFileSecurityLevel getDatabaseFileSecurityLevel()
DatabaseFileSecurityLevel