public class SiteProcessor extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
SiteProcessor.PageContent |
| Constructor | Description |
|---|---|
SiteProcessor() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
processMarkdown(Site site,
Site.Page child,
ConfluenceService.Model.Page page,
String content,
String pagePrefixToApply) |
|
static <P extends Site.Page> |
processPageUri(Site site,
P child,
ConfluenceService.Model.Page page,
URI uri,
String pagePrefixToApply) |
|
static <T> T |
processUri(URI uri,
BiFunction<Optional<Exception>,Optional<InputStream>,T> callback) |
|
static <P extends Site.Page> |
processUriContent(Site site,
P child,
URI uri,
String homePageTitle) |
public static <T> T processUri(URI uri, BiFunction<Optional<Exception>,Optional<InputStream>,T> callback)
T - uri - callback - public static <P extends Site.Page> CompletableFuture<SiteProcessor.PageContent> processPageUri(Site site, P child, ConfluenceService.Model.Page page, URI uri, String pagePrefixToApply)
P - site - child - page - - Nullableuri - pagePrefixToApply - - Nullablepublic static <P extends Site.Page> CompletableFuture<SiteProcessor.PageContent> processUriContent(Site site, P child, URI uri, String homePageTitle)
P - site - child - uri - homePageTitle - - Nullablepublic static String processMarkdown(Site site, Site.Page child, ConfluenceService.Model.Page page, String content, String pagePrefixToApply) throws IOException
site - child - page - - Nullablecontent - pagePrefixToApply - - NullableIOExceptionCopyright © 2023. All rights reserved.