|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.util.io.Connections
public class Connections
URLConnection
related utilities
Method Summary | |
---|---|
static void |
close(java.net.URLConnection connection)
Closes a connection |
static void |
closeQuietly(java.net.URLConnection connection)
Closes a connection, ignoring any exceptions if they occur |
static Time |
getLastModified(java.net.URL url)
Gets last modified date of the given URL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Time getLastModified(java.net.URL url) throws java.io.IOException
URL
url
-
null
if not available
java.io.IOException
public static void closeQuietly(java.net.URLConnection connection)
connection
- public static void close(java.net.URLConnection connection) throws java.io.IOException
connection
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |