Topic: [求教]java.net.URL类是否支持FILE协议?? |
Print this page |
1.[求教]java.net.URL类是否支持FILE协议?? | Copy to clipboard |
Posted by: wqianghx Posted on: 2004-02-26 17:42 从Sun的官方文档看,是支持的。 但是当在URL类获得连接时,总是会报“not log in”的错误,而且检查错误堆栈, 居然也是ftp包抛出的错误,因此发生了疑惑。 请问,如果URL类支持FILE协议的话,究竟该怎样正确地获得连接呢? |
2.Re:[求教]java.net.URL类是否支持FILE协议?? [Re: wqianghx] | Copy to clipboard |
Posted by: kjjx Posted on: 2004-04-06 00:23 请教什么是FILE协议? |
3.Re:[求教]java.net.URL类是否支持FILE协议?? [Re: wqianghx] | Copy to clipboard |
Posted by: bluepure Posted on: 2004-04-09 00:23 new java.net.URL("file:///c:\\winnt\\system32\\myfile.txt"); |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |