Package org.ujmp.core.util.io
Class HttpUtil
java.lang.Object
org.ujmp.core.util.io.HttpUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
download
(String url, OutputStream output) static void
static void
download
(URL url, OutputStream output) static final byte[]
getBytesFromUrl
(String urlString) static final byte[]
getBytesFromUrl
(URL url) static final String
getStringFromUrl
(String urlString)
-
Constructor Details
-
HttpUtil
public HttpUtil()
-
-
Method Details
-
getBytesFromUrl
- Throws:
IOException
-
getBytesFromUrl
- Throws:
IOException
-
getStringFromUrl
- Throws:
IOException
-
download
- Throws:
IOException
-
download
- Throws:
IOException
-
download
- Throws:
IOException
-
download
- Throws:
IOException
-