| Constructor and Description |
|---|
NetworkLib() |
| Modifier and Type | Method and Description |
|---|---|
static long |
download(java.lang.String sourceUrl,
VfsFile destination) |
static long |
download(java.net.URL source,
VfsFile destination)
Downloads a file from URL source to File destination.
|
static java.net.InetAddress |
localAddress()
Returns the InetAddress of this machine.
|
public static java.net.InetAddress localAddress()
public static long download(java.net.URL source,
VfsFile destination)
throws java.io.IOException
java.io.IOExceptionpublic static long download(java.lang.String sourceUrl,
VfsFile destination)
throws java.io.IOException
java.io.IOException