[Polycasso-commit] SF.net SVN: polycasso:[195] trunk/polycasso/src/com/mebigfatguy/polycasso/ URLFe
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-12-18 05:50:31
|
Revision: 195
http://polycasso.svn.sourceforge.net/polycasso/?rev=195&view=rev
Author: dbrosius
Date: 2009-12-18 04:24:16 +0000 (Fri, 18 Dec 2009)
Log Message:
-----------
javadoc
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java 2009-12-18 04:23:13 UTC (rev 194)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/URLFetcher.java 2009-12-18 04:24:16 UTC (rev 195)
@@ -39,11 +39,13 @@
}
/**
- * fetches the data at a specified url, whether http or file protocols
- * @param url the url to fetch from
- * @return a byte array of data from the url
+ * retrieve arbitrary data found at a specific url
+ * - either http or file urls
*
- * @throws IOException if the data at the url can't be retrieved
+ * @param url the url to retrieve
+ * @return a byte array of the content
+ *
+ * @throws IOException the site fails to respond
*/
public static byte[] fetchURLData(String url) throws IOException {
HttpURLConnection con = null;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|