org.camunda.bpm.engine.impl.util
Class IoUtil
java.lang.Object
org.camunda.bpm.engine.impl.util.IoUtil
public class IoUtil
- extends Object
- Author:
- Tom Baeyens, Frederik Heremans, Joram Barrez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IoUtil
public IoUtil()
readInputStream
public static byte[] readInputStream(InputStream inputStream,
String inputStreamName)
readFileAsString
public static String readFileAsString(String filePath)
getFile
public static File getFile(String filePath)
writeStringToFile
public static void writeStringToFile(String content,
String filePath)
closeSilently
public static void closeSilently(Closeable closeable)
- Closes the given stream. The same as calling
Closeable.close()
, but
errors while closing are silently ignored.
Copyright © 2014 camunda services GmbH. All rights reserved.