Class IOs
java.lang.Object
com.thebuzzmedia.exiftool.commons.io.IOs
Static Input/Output Utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
closeQuietly
(Closeable closeable) Close instance ofCloseable
object (stream, reader, writer, etc.).static void
readInputStream
(InputStream is, StreamVisitor visitor) Read input and continue untilStreamVisitor.readLine(String)
returnsfalse
.
-
Method Details
-
readInputStream
Read input and continue untilStreamVisitor.readLine(String)
returnsfalse
.- Parameters:
is
- Input stream.visitor
- Result handler.- Throws:
IOException
- If an error occurred during read operation.
-
closeQuietly
Close instance ofCloseable
object (stream, reader, writer, etc.). If anIOException
occurs during the close operation, then it is logged but it will not fail by throwing another exception.- Parameters:
closeable
- Closeable instance.
-