|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.upload.util.UploadUtil
public final class UploadUtil
This class provides utilities for uploaded files
| Method Summary | |
|---|---|
static java.lang.String |
cleanFileName(java.lang.String strName)
Removes special characters contained in the file name |
static java.lang.String |
cleanFilePath(java.lang.String strPath)
Removes special characters contained in a file path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String cleanFileName(java.lang.String strName)
strName - the file name
public static java.lang.String cleanFilePath(java.lang.String strPath)
strPath - The path to clean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||