public class NetUtils extends Object
| Constructor and Description |
|---|
NetUtils() |
| Modifier and Type | Method and Description |
|---|---|
static File |
download(URL url) |
static URL |
resolveRedirects(URL url) |
static File |
toFile(InputStream is) |
public static final File toFile(InputStream is)
public static URL resolveRedirects(URL url) throws IOException
IOExceptionpublic static File download(URL url) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionCopyright © 2021. All Rights Reserved.