Class IOUtils
java.lang.Object
is.galia.util.IOUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
closeQuietly
(AutoCloseable closeable) InvokesAutoCloseable.close()
on the given instance quietly but not silently (exceptions are logged).static void
consume
(ImageInputStream inputStream) static void
transfer
(ImageInputStream inputStream, OutputStream outputStream)
-
Method Details
-
closeQuietly
InvokesAutoCloseable.close()
on the given instance quietly but not silently (exceptions are logged). -
consume
- Throws:
IOException
-
transfer
public static void transfer(ImageInputStream inputStream, OutputStream outputStream) throws IOException - Throws:
IOException
-