public interface URLStreamHandlerFactory
URL
流协议处理程序的工厂。
URL
类用于为特定协议创建URLStreamHandler
。
URL
, URLStreamHandler
Modifier and Type | Method and Description |
---|---|
URLStreamHandler |
createURLStreamHandler(String protocol)
用指定的协议创建一个新的
URLStreamHandler 实例。
|
URLStreamHandler createURLStreamHandler(String protocol)
URLStreamHandler
实例。
protocol
- 协议(“
ftp
”,“
http
”,“
nntp
”等)。
URLStreamHandler
的具体协议。
URLStreamHandler
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.