|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.dc.http.HttpConnection
HttpURLConnection implementation. Proxy is implemented
Constructor Summary | |
HttpConnection()
|
Method Summary | |
static byte[] |
getBytes(java.net.URL url)
Read the bytes from the given location to a String. |
static java.lang.String |
getImageAsBase64(java.net.URL url)
Retrieves a picture from the net and returns this as a BASE64 string |
static java.lang.String |
getString(java.net.URL url)
Read the page from the given location to a String |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HttpConnection()
Method Detail |
public static final java.lang.String getString(java.net.URL url) throws java.io.IOException
url
- the target
java.io.IOException
public static final byte[] getBytes(java.net.URL url) throws java.io.IOException
url
- the target
java.io.IOException
public static final java.lang.String getImageAsBase64(java.net.URL url) throws java.io.IOException
url
- target url
java.io.IOException
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |