|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.util.filesystem.FileSystemUtil
public final class FileSystemUtil
This Service is used to manipulate Files and Directories in the File System.
| Method Summary | |
|---|---|
static java.util.List<java.io.File> |
getFiles(java.lang.String strRoot,
java.lang.String strDirectoryRelativePath)
Returns the files of a directory, alphabetically ordered. |
static java.util.List<java.io.File> |
getSubDirectories(java.lang.String strRoot,
java.lang.String strDirectoryRelativePath)
Returns the sub-directories of a directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<java.io.File> getSubDirectories(java.lang.String strRoot,
java.lang.String strDirectoryRelativePath)
throws DirectoryNotFoundException
strRoot - the root directory.strDirectoryRelativePath - the parent directory.
DirectoryNotFoundException - if the directory does not exist.
public static java.util.List<java.io.File> getFiles(java.lang.String strRoot,
java.lang.String strDirectoryRelativePath)
throws DirectoryNotFoundException
strRoot - The root directorystrDirectoryRelativePath - The directory's path relative to the root directory.
DirectoryNotFoundException - if the directory does not exist.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||