public class DownloadUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getBytesFromHttp(String httpFileURL)
Get destination web file bytes.
|
static InputStream |
getInputStreamFromHttp(String httpFileURL)
Get destination web file input stream.
|
public static InputStream getInputStreamFromHttp(String httpFileURL) throws IOException
httpFileURL - the web file url which you want to download.IOExceptionpublic static byte[] getBytesFromHttp(String httpFileURL) throws IOException
httpFileURL - the web file url which you want to download.IOExceptionCopyright © 2014. All rights reserved.