public final class FileUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addFileResponseToFolder(fr.paris.lutece.plugins.genericattributes.business.Response response,
String strFolder)
This method extracts a specific file to a tmp folder
|
static void |
cleanFolder(String strFolder)
Method to clean a specific repository
|
static void |
createFolder(String strPath)
Method to create a specific folder
|
public static void cleanFolder(String strFolder)
strFolder - name of repositorypublic static void addFileResponseToFolder(fr.paris.lutece.plugins.genericattributes.business.Response response,
String strFolder)
throws IOException
response - the response of the formstrFolder - the temporary folder for extractionIOException - exception if the copy from byte[] to File has an errorpublic static void createFolder(String strPath)
strPath - repository pathCopyright © 2018 City of Paris. All rights reserved.