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.