public class FileSystemUtils extends Object
| Constructor and Description |
|---|
FileSystemUtils(String executionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFile(File source,
File dest) |
void |
copyInputFileAs(String sourcePath,
String newName) |
void |
ensureExecutionStructureExists() |
File |
getBinariesLocation() |
File |
getExecutionRoot() |
File |
getExecutionsRoot() |
File |
getInputLocation() |
void |
removeExecutionStructure() |
boolean |
renameFile(File from,
File to) |
public FileSystemUtils(String executionId)
public File getExecutionsRoot()
public File getExecutionRoot()
public File getBinariesLocation()
public File getInputLocation()
public void removeExecutionStructure()
throws IOException
IOExceptionpublic void ensureExecutionStructureExists()
public void copyInputFileAs(String sourcePath, String newName) throws IOException
IOExceptionpublic void copyFile(File source, File dest) throws IOException
IOExceptionpublic boolean renameFile(File from, File to) throws IOException
IOExceptionCopyright © 2016. All Rights Reserved.