|
||||||||||
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(URLConnection connection)
Closes a connection |
static void |
closeQuietly(URLConnection connection)
Closes a connection, ignoring any exceptions if they occur |
static long |
getLastModified(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 long getLastModified(URL url) throws IOException
URL
url
-
IOException
public static void closeQuietly(URLConnection connection)
connection
- public static void close(URLConnection connection) throws IOException
connection
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |