fromUrl

fun fromUrl(url: String): SourceConfig

Creates a SourceConfig from a given url by detecting the type automatically. Throws IllegalArgumentException if the detection fails.