docs/javadoc/reference/com/facebook/common/file/FileUtils.html
|
|
Summary: Nested Classes | Ctors | Methods | Inherited Methods | [Expand All]
public class
extends Object
| java.lang.Object | | ↳ | com.facebook.common.file.FileUtils |
Static operations on Files
| Nested Classes |
|---|
| class |
| class |
| class |
| class |
| Public Constructors |
|---|
| Public Methods |
|---|
| static void |
| Creates the specified directory, along with all parent paths if necessary |
| static void |
| Renames the source file to the target file. |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
|
Creates the specified directory, along with all parent paths if necessary
| directory | directory to be created |
| FileUtils.CreateDirectoryException | |
Renames the source file to the target file. If the target file exists, then we attempt to delete it. If the delete or the rename operation fails, then we raise an exception
| source | the source file | | target | the new 'name' for the source file |
| IOException | | | FileUtils.RenameException | |
+Generated by Doclava. +