Package org.firebirdsql.jdbc.metadata
Class PrivilegeMapping
- java.lang.Object
-
- org.firebirdsql.jdbc.metadata.PrivilegeMapping
-
public final class PrivilegeMapping extends java.lang.Object
Maps Firebird privilege codes (fromRDB$USER_PRIVILEGES.RDB$PRIVILEGE
) to a privilege name.- Since:
- 5
- Author:
- Mark Rotteveel
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
mapPrivilege(java.lang.String firebirdPrivilege)
Maps the (one character) Firebird privilege code to the equivalent JDBC privilege.
-
-
-
Method Detail
-
mapPrivilege
public static java.lang.String mapPrivilege(java.lang.String firebirdPrivilege)
Maps the (one character) Firebird privilege code to the equivalent JDBC privilege.- Parameters:
firebirdPrivilege
- Firebird privilege character- Returns:
- privilege name or
"UNKNOWN"
when the privilege is not known
-
-