Package org.camunda.bpm.engine.impl.util
Class IoUtil
java.lang.Object
org.camunda.bpm.engine.impl.util.IoUtil
- Author:
- Tom Baeyens, Frederik Heremans, Joram Barrez
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidcloseSilently(Closeable closeable) Closes the given stream.static voidflushSilently(Flushable flushable) Flushes the given object.static Filestatic StringreadClasspathResourceAsString(String resourceName) static byte[]readInputStream(InputStream inputStream, String inputStreamName) static voidwriteStringToFile(String content, String filePath) 
- 
Constructor Details- 
IoUtilpublic IoUtil()
 
- 
- 
Method Details- 
readInputStream
- 
readClasspathResourceAsString
- 
getFile
- 
writeStringToFile
- 
closeSilentlyCloses the given stream. The same as callingCloseable.close(), but errors while closing are silently ignored.
- 
flushSilentlyFlushes the given object. The same as callingFlushable.flush(), but errors while flushing are silently ignored.
 
-