|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.modules.processornotifysender.utils.FileUtils
public final class FileUtils
FileUtils
Method Summary | |
---|---|
static void |
addFileResponseToFolder(Response response,
java.lang.String strFolder)
This method extracts a specific file to a tmp folder |
static void |
cleanFolder(java.lang.String strFolder)
Method to clean a specific repository |
static void |
createFolder(java.lang.String strPath)
Method to create a specific folder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void cleanFolder(java.lang.String strFolder)
strFolder
- name of repositorypublic static void addFileResponseToFolder(Response response, java.lang.String strFolder) throws java.io.IOException
response
- the response of the formstrFolder
- the temporary folder for extraction
java.io.IOException
- exception if the copy from byte[] to File has an errorpublic static void createFolder(java.lang.String strPath)
strPath
- repository path
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |