public class SitePrinter extends Object
Constructor | Description |
---|---|
SitePrinter() |
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) |
public static String getPrintableStringForResource(Site site, Site.Source source)
site
- source
- public static String getPrintableStringForResource(Site site, URI uri)
site
- uri
- public static void printSource(Site site, PrintStream out, int level, char c, Site.Source source)
site
- out
- level
- c
- source
- public static void printChildren(Site site, PrintStream out, int level, Site.Page parent)
site
- out
- level
- parent
- public static void print(Site site, PrintStream out)
site
- out
- Copyright © 2023. All rights reserved.