public class URLUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
protected URLConnection |
openConnection(int timeout) |
static URLConnection |
openConnection(URL url) |
static URLConnection |
openConnection(URL url,
int timeout) |
protected URLUtil()
protected URLUtil(URL url)
protected URLConnection openConnection(int timeout) throws IOException
IOExceptionpublic static URLConnection openConnection(URL url) throws IOException
IOExceptionpublic static URLConnection openConnection(URL url, int timeout) throws IOException
IOExceptionCopyright © 2018. All rights reserved.