org.eclipse.gemini.blueprint.test.internal.util
Class IOUtils
java.lang.Object
org.eclipse.gemini.blueprint.test.internal.util.IOUtils
public abstract class IOUtils
- extends Object
Utility class for IO operations.
- Author:
- Costin Leau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IOUtils
public IOUtils()
doWithIO
public static void doWithIO(IOUtils.IOCallback callback)
closeStream
public static void closeStream(InputStream stream)
closeStream
public static void closeStream(OutputStream stream)
delete
public static boolean delete(File file)
- Delete the given file (can be a simple file or a folder).
- Parameters:
file
- the file to be deleted
- Returns:
- if the deletion succeded or not
Copyright © 2006-2013. All Rights Reserved.