| java.lang.Object vqwiki.lex.LinkExtender
LinkExtender | public class LinkExtender (Code) | | |
Method Summary | |
public static String | generateLink(String prefix, String url, String text) | public static String | generateLink(String prefix, String url, String text, boolean onlyExternalLinks) Use the prefix to produce a hyperlink based on entries in the linking.properties file
Parameters: prefix - the prefix Parameters: url - the parameter as given by the user Parameters: text - Parameters: onlyExternalLinks - true if there are only external links converted, false otherwise. | public static String | generateNonExpandedLink(String destination) Produce a link that doesn't use the prefix: scheme but can have a linking.properties entry
hyperlinks.target=... |
generateLink | public static String generateLink(String prefix, String url, String text) throws Exception(Code) | | Use the prefix to produce a hyperlink based on entries in the linking.properties file
Parameters: prefix - the prefix Parameters: url - the parameter as given by the user Parameters: text - throws: Exception - |
generateLink | public static String generateLink(String prefix, String url, String text, boolean onlyExternalLinks) throws Exception(Code) | | Use the prefix to produce a hyperlink based on entries in the linking.properties file
Parameters: prefix - the prefix Parameters: url - the parameter as given by the user Parameters: text - Parameters: onlyExternalLinks - true if there are only external links converted, false otherwise. HTML representation of this link. throws: Exception - |
generateNonExpandedLink | public static String generateNonExpandedLink(String destination) throws IOException(Code) | | Produce a link that doesn't use the prefix: scheme but can have a linking.properties entry
hyperlinks.target=...
Parameters: destination - |
|
|