public class LinkResolver extends Object implements WikiFilter
Modifier and Type | Field and Description |
---|---|
static Pattern |
LINK_PATTERN |
static String |
LINK_TEMPLATE |
static String |
PATTERN |
Constructor and Description |
---|
LinkResolver() |
Modifier and Type | Method and Description |
---|---|
String |
apply(String content)
Filter the given content
|
protected String |
buildLink(String basePath,
StringBuffer relativePath,
String str) |
protected String |
buildLinks(String pageName) |
public static final String PATTERN
public static final Pattern LINK_PATTERN
public static final String LINK_TEMPLATE
public LinkResolver()
public String apply(String content)
WikiFilter
apply
in interface WikiFilter
content
- te input content to filterprotected String buildLinks(String pageName)
protected String buildLink(String basePath, StringBuffer relativePath, String str)
Copyright © 2016 Nuxeo SA. All rights reserved.