Package org.bsc.confluence.model
Class SitePrinter
- java.lang.Object
-
- org.bsc.confluence.model.SitePrinter
-
public class SitePrinter extends Object
-
-
Constructor Summary
Constructors Constructor Description SitePrinter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getPrintableStringForResource(Site site, URI uri)
static String
getPrintableStringForResource(Site site, Site.Source source)
static void
print(Site site, PrintStream out)
static void
printChildren(Site site, PrintStream out, int level, Site.Page parent)
static void
printSource(Site site, PrintStream out, int level, char c, Site.Source source)
-
-
-
Method Detail
-
getPrintableStringForResource
public static String getPrintableStringForResource(Site site, Site.Source source)
- Parameters:
site
-source
-- Returns:
-
getPrintableStringForResource
public static String getPrintableStringForResource(Site site, URI uri)
- Parameters:
site
-uri
-- Returns:
-
printSource
public static void printSource(Site site, PrintStream out, int level, char c, Site.Source source)
- Parameters:
site
-out
-level
-c
-source
-
-
printChildren
public static void printChildren(Site site, PrintStream out, int level, Site.Page parent)
- Parameters:
site
-out
-level
-parent
-
-
print
public static void print(Site site, PrintStream out)
- Parameters:
site
-out
-
-
-