Class MinXMLParse

java.lang.Object
com.io7m.minisite.core.internal.MinXMLParse

public final class MinXMLParse extends Object
Terse functions to parse XML files.
  • Method Details

    • parseFileUnchecked

      public static Element parseFileUnchecked(Document document, Path file) throws UncheckedIOException
      Parse a file and return the root element, owned by document.
      Parameters:
      document - The new owner document
      file - The file to be parsed
      Returns:
      A parsed element
      Throws:
      UncheckedIOException - On errors