fromUrl

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