url1.txt

来自「java 经典实例 java学习 实例 这个对于java确实很有帮助」· 文本 代码 · 共 16 行

TXT
16
字号
URL is 
toString()=  file:d:/jdk1.3/docs/api/index.html#chapt1
Protocol  =  file
Host      =  
Port      =  -1
File      =  d:/jdk1.3/docs/api/index.html
Ref       =  chapt1
URL is 
toString()=  http://www.edu.cn/web/myfile.html#chapt1
Protocol  =  http
Host      =  www.edu.cn
Port      =  -1
File      =  /web/myfile.html
Ref       =  chapt1
java.net.MalformedURLException: no protocol: http//www.edu.cn

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?