|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lateralnz.common.util.IOUtils
public final class IOUtils
| Method Summary | |
|---|---|
static void |
close(java.io.InputStream is)
close an input stream, but ensure any exceptions are 'swallowed' (but dumped as a stack trace) |
static void |
close(java.io.OutputStream os)
close an output stream, but ensure any exceptions are 'swallowed' (but dumped as a stack trace) |
static void |
close(java.io.Reader reader)
close a reader, but ensure any exceptions are 'swallowed' (but dumped as a stack trace) |
static void |
close(java.net.ServerSocket socket)
close a server socket, but ensure any exceptions are 'swallowed' (but dumped as a stack trace) |
static void |
close(java.net.Socket socket)
close a socket, but ensure any exceptions are 'swallowed' (but dumped as a stack trace) |
static void |
close(java.io.Writer writer)
close a writer, but ensure any exceptions are 'swallowed' (but dumped as a stack trace) |
static void |
disconnect(java.net.HttpURLConnection conn)
disconnect an http connection, ensuring exceptions are 'swallowed' |
static void |
flush(java.io.OutputStream os)
|
static void |
flush(java.io.Writer w)
|
static byte[] |
read(java.io.InputStream is)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final void close(java.io.InputStream is)
public static final void close(java.io.OutputStream os)
public static final void close(java.io.Reader reader)
public static final void close(java.net.ServerSocket socket)
public static final void close(java.net.Socket socket)
public static final void close(java.io.Writer writer)
public static final void disconnect(java.net.HttpURLConnection conn)
public static final void flush(java.io.Writer w)
public static final void flush(java.io.OutputStream os)
public static final byte[] read(java.io.InputStream is)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||