|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncclient.common.HttpTools
public class HttpTools
This class supplies some methods of usefullness for the management of HTTP connection.
Constructor Summary | |
---|---|
HttpTools()
|
Method Summary | |
---|---|
static byte[] |
downloadPackage(java.lang.String fileUrl)
Download file from the given location. |
static boolean |
isHTTPURL(java.lang.String url)
Returns true if the given url is a valid http(s) url. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpTools()
Method Detail |
---|
public static byte[] downloadPackage(java.lang.String fileUrl) throws java.io.IOException
fileUrl
- location from which download the file.
java.io.IOException
- if an I/O error occurs.public static boolean isHTTPURL(java.lang.String url)
url
- - NOT NULL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |