Modifier and Type | Method and Description |
---|---|
static boolean |
isExternalLink(String link)
Checks if the given string corresponds to an external URI,
ie is not a link within the same document nor a link to another
document within the same site.
|
static boolean |
isInternalLink(String link)
Checks if the given string corresponds to an internal link,
ie it is a link to an anchor within the same document.
|
static boolean |
isLocalLink(String link)
Checks if the given string corresponds to a relative link to another document
within the same site.
|
public static boolean isExternalLink(String link)
DoxiaUtils.isExternalLink(String)
.link
- The link to check.DoxiaUtils.isExternalLink(String)
,
isInternalLink(String)
,
isLocalLink(String)
public static boolean isInternalLink(String link)
link
- The link to check.external
nor a local
link.DoxiaUtils.isInternalLink(String)
,
isExternalLink(String)
,
isLocalLink(String)
public static boolean isLocalLink(String link)
link
- The link to check.DoxiaUtils.isLocalLink(String)
,
isExternalLink(String)
,
isInternalLink(String)
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.