软件包 | 描述 |
---|---|
java.net |
为实现网络应用程序提供类。
|
Modifier and Type | Method and Description |
---|---|
URLStreamHandler |
URLStreamHandlerFactory.createURLStreamHandler(String protocol)
创建一个新的与指定的协议
URLStreamHandler 实例。
|
Constructor and Description |
---|
URL(String protocol, String host, int port, String file, URLStreamHandler handler)
创建从指定的
protocol ,
host ,
port 数,
file 一
URL 对象,和
handler 。
|
URL(URL context, String spec, URLStreamHandler handler)
通过在指定的上下文中解析给定的规范与指定的处理程序创建一个链接。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.