Author: nbelaevski
Date: 2008-12-23 13:36:09 -0500 (Tue, 23 Dec 2008)
New Revision: 12001
Modified:
trunk/framework/api/src/main/java/org/ajax4jsf/resource/util/URLToStreamHelper.java
Log:
JavaDoc added for urlToStreamSafe() method
Modified:
trunk/framework/api/src/main/java/org/ajax4jsf/resource/util/URLToStreamHelper.java
===================================================================
---
trunk/framework/api/src/main/java/org/ajax4jsf/resource/util/URLToStreamHelper.java 2008-12-23
18:34:51 UTC (rev 12000)
+++
trunk/framework/api/src/main/java/org/ajax4jsf/resource/util/URLToStreamHelper.java 2008-12-23
18:36:09 UTC (rev 12001)
@@ -69,6 +69,12 @@
}
}
+ /**
+ * Variant of {@link #urlToStream(URL)} method that doesn't throw IOException, but
silently ignores them
+ *
+ * @param url
+ * @return
+ */
public static final InputStream urlToStreamSafe(URL url) {
try {
return urlToStream(url);
Show replies by date