org.activiti.engine.impl.util
类 IoUtil
java.lang.Object
org.activiti.engine.impl.util.IoUtil
public class IoUtil
- extends Object
- 作者:
- Tom Baeyens, Frederik Heremans, Joram Barrez
从类 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(InputStream inputStream)
- Closes the given stream. The same as calling
InputStream.close()
, but
errors while closing are silently ignored.
closeSilently
public static void closeSilently(OutputStream outputStream)
- Closes the given stream. The same as calling
OutputStream.close()
, but
errors while closing are silently ignored.
Copyright © 2013 Alfresco. All rights reserved.