public class IoUtils2 extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
closeQuietly(Closeable closeable) |
static void |
copy(InputStream in,
OutputStream out) |
static InputStream |
getInputStream(String url) |
static OutputStream |
nullOutputStream() |
public static OutputStream nullOutputStream()
public static void copy(InputStream in, OutputStream out) throws IOException
IOExceptionpublic static void closeQuietly(Closeable closeable)
public static InputStream getInputStream(@Nonnull String url) throws FileNotFoundException
FileNotFoundExceptionCopyright © 2016. All Rights Reserved.