fr.paris.lutece.plugins.folderlisting.business
Class FolderListingHome

java.lang.Object
  extended by fr.paris.lutece.plugins.folderlisting.business.FolderListingHome

public class FolderListingHome
extends java.lang.Object

This class provides instances management methods (accept, getDescription, getFiles) for FolderListingFile objects.


Constructor Summary
FolderListingHome()
           
 
Method Summary
static java.util.Collection<FolderListingFile> getFiles(java.lang.String strPath)
          Return file informations
static java.util.Collection<FolderListingDirectory> getSubDirectories(java.lang.String strPath)
          Return subdirectories
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderListingHome

public FolderListingHome()
Method Detail

getFiles

public static java.util.Collection<FolderListingFile> getFiles(java.lang.String strPath)
                                                        throws fr.paris.lutece.util.filesystem.DirectoryNotFoundException
Return file informations

Parameters:
strPath - The relative path of the folder
Returns:
A collection of FolderListFiles
Throws:
fr.paris.lutece.util.filesystem.DirectoryNotFoundException

getSubDirectories

public static java.util.Collection<FolderListingDirectory> getSubDirectories(java.lang.String strPath)
                                                                      throws fr.paris.lutece.util.filesystem.DirectoryNotFoundException
Return subdirectories

Parameters:
strPath - The relative path of the folder
Returns:
A collection of FolderListFiles
Throws:
fr.paris.lutece.util.filesystem.DirectoryNotFoundException


Copyright © 2011 Mairie de Paris. All Rights Reserved.