public interface LinkRedirector
Possibly redirects one URL to another. Useful if you want "external" URL's
in code completion documentation to point to a local copy instead, for
example.
- Version:
- 1.0
- Author:
- Robert Futrell
-
Method Summary
Modifier and TypeMethodDescriptionpossiblyRedirect
(URL original) Hook to return an alternate URL to navigate to when a URL is clicked in anRSyntaxTextArea
instance.
-
Method Details
-
possiblyRedirect
Hook to return an alternate URL to navigate to when a URL is clicked in anRSyntaxTextArea
instance.- Parameters:
original
- The original URL, e.g. from aHyperlinkEvent
.- Returns:
- The link to redirect to, or
null
if the original URL should still be used.
-