de.flapdoodle.embedmongo
Class Files
java.lang.Object
de.flapdoodle.embedmongo.Files
public class Files
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BYTE_BUFFER_LENGTH
public static final int BYTE_BUFFER_LENGTH
- See Also:
- Constant Field Values
createTempFile
public static File createTempFile(String tempFileName)
throws IOException
- Throws:
IOException
createOrCheckDir
public static File createOrCheckDir(String dir)
throws IOException
- Throws:
IOException
createOrCheckUserDir
public static File createOrCheckUserDir(String prefix)
throws IOException
- Throws:
IOException
createTempDir
public static File createTempDir(String prefix)
throws IOException
- Throws:
IOException
forceDelete
public static boolean forceDelete(File fileOrDir)
write
public static void write(InputStream in,
long size,
File output)
throws IOException
- Throws:
IOException
moveFile
public static boolean moveFile(File source,
File destination)
Copyright © 2012. All Rights Reserved.