Package com.io7m.minisite.core.internal
Class MinXMLParse
java.lang.Object
com.io7m.minisite.core.internal.MinXMLParse
-
Method Summary
Modifier and TypeMethodDescriptionstatic ElementparseFileUnchecked(Document document, Path file) Parse a file and return the root element, owned bydocument.
-
Method Details
-
parseFileUnchecked
Parse a file and return the root element, owned bydocument.- Parameters:
document- The new owner documentfile- The file to be parsed- Returns:
- A parsed element
- Throws:
UncheckedIOException- On errors
-