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