Class SitePrinter


  • public class SitePrinter
    extends Object
    • Constructor Detail

      • SitePrinter

        public SitePrinter()
    • 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 -