fromUrl

suspend fun fromUrl(url: URL, modelFactory: ModelFactory, project: <Error class: unknown class>): Course

Creates a course instance from the course configuration file at the given URL.

Return

A course instance containing the information parsed from the course configuration file.

Parameters

url

The URL of the course configuration file.

Throws

If an IO error occurs (network connection issues for an example).

MalformedCourseConfigurationException

If the course configuration file is malformed in any way.