getXml

fun getXml(manifest: File): Document

Reads the file into a Document and Document.normalize it.

Return

The parsed and normalized document.

Author

Griefed

Parameters

manifest

The xml-file to parse into a Document.

Throws

indicates a serious configuration error.

if any IO errors occur.

if any parse errors occur.


fun getXml(string: String): Document

Reads the string into a Document and Document.normalize it.

Return

The parsed and normalized document.

Author

Griefed

Parameters

string

The xml-string to parse into a Document.

Throws

indicates a serious configuration error.

if any IO errors occur.

if any parse errors occur.


fun getXml(manifest: InputStream): Document

Reads the input-stream into a Document and Document.normalize it.

Return

The parsed and normalized document.

Author

Griefed

Parameters

manifest

The xml-input-stream to parse into a Document.

Throws

indicates a serious configuration error.

if any IO errors occur.

if any parse errors occur.