开发者

URL vs URI (Why always convert URL(any data) to URI)

开发者 https://www.devze.com 2023-03-16 16:30 出处:网络
Why do we always convert URL string to URI or any data when we pass the data to intent object? I know that parameter type of Intent is URI type but what 开发者_高级运维is so special about URI?

Why do we always convert URL string to URI or any data when we pass the data to intent object?

I know that parameter type of Intent is URI type but what 开发者_高级运维is so special about URI?

What is the concept behind it?


URL is used to identify a specific resource and how to access it - in all completeness

URI: mysql://localhost@databasename:password

The URL shows you where you can find the database on the internet and which protocol you should use.

URL: mysql://localhost

0

精彩评论

暂无评论...
验证码 换一张
取 消