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.