| java.lang.Object com.sun.jbi.common.FileListing
FileListing | final public class FileListing (Code) | | Helper class for listing files / folders.
author: Ramesh |
Method Summary | |
public static synchronized List | getFileListing(File aDir, boolean bRecurse, FilenameFilter aFilter) Gets the list of files in a folder.
Parameters: aDir - folder name. Parameters: bRecurse - will recurse if true. Parameters: aFilter - filname filter. | public static synchronized String[] | getFolderListing(File aDir) Recursively walk a directory tree and return a List of all Files found;
the List is sorted using File.compareTo.
Parameters: aDir - is a valid directory, which can be read. | public static synchronized String[] | getFolderNameListing(File aDir) Util method to get the list of folders.
Parameters: aDir - folder name for which contents have to be listed. | public static String | getWSDLFile(String path) | public static String | getXMLFile(String path) |
getFileListing | public static synchronized List getFileListing(File aDir, boolean bRecurse, FilenameFilter aFilter)(Code) | | Gets the list of files in a folder.
Parameters: aDir - folder name. Parameters: bRecurse - will recurse if true. Parameters: aFilter - filname filter. List of file names. |
getFolderListing | public static synchronized String[] getFolderListing(File aDir)(Code) | | Recursively walk a directory tree and return a List of all Files found;
the List is sorted using File.compareTo.
Parameters: aDir - is a valid directory, which can be read. array of folder names |
getFolderNameListing | public static synchronized String[] getFolderNameListing(File aDir)(Code) | | Util method to get the list of folders.
Parameters: aDir - folder name for which contents have to be listed. array of folder names. |
|
|