Package com.atlassian.jira.web.util
Class AccessKeyHelperImpl
java.lang.Object
com.atlassian.jira.web.util.AccessKeyHelperImpl
- All Implemented Interfaces:
AccessKeyHelper
- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAccessKeySafe(String accessKey) Screens the given access key against known browser shortcuts, so that the access key can be selectively omitted.
-
Constructor Details
-
AccessKeyHelperImpl
public AccessKeyHelperImpl()
-
-
Method Details
-
isAccessKeySafe
Description copied from interface:AccessKeyHelperScreens the given access key against known browser shortcuts, so that the access key can be selectively omitted.- Specified by:
isAccessKeySafein interfaceAccessKeyHelper- Parameters:
accessKey- the access key to screen- Returns:
- true if the access key does not clash with any browser shortcut we know about; false otherwise
-