Class IoUtil
java.lang.Object
org.flowable.common.engine.impl.util.IoUtil
- Author:
- Tom Baeyens, Frederik Heremans, Joram Barrez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
closeSilently
(InputStream inputStream) Closes the given stream.static void
closeSilently
(OutputStream outputStream) Closes the given stream.static File
static String
readFileAsString
(String filePath) static byte[]
readInputStream
(InputStream inputStream, String inputStreamName) static void
writeStringToFile
(String content, String filePath)
-
Constructor Details
-
IoUtil
public IoUtil()
-
-
Method Details
-
readInputStream
-
readFileAsString
-
getFile
-
writeStringToFile
-
closeSilently
Closes the given stream. The same as callingInputStream.close()
, but errors while closing are silently ignored. -
closeSilently
Closes the given stream. The same as callingOutputStream.close()
, but errors while closing are silently ignored.
-