|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.win32.io.FileInfo
com.jniwrapper.win32.io.FolderInfo
The FolderInfo class is a container of folder information.
| Constructor Summary | |
FolderInfo(java.lang.String fileName)
Creates instance of the FolderInfo |
|
FolderInfo(java.lang.String path,
boolean recursive)
Creates instance of the FolderInfo |
|
FolderInfo(java.lang.String path,
java.io.FileFilter filter,
boolean recursive)
Creates instance of the FolderInfo with specified file filter |
|
| Method Summary | |
int |
getFileCount()
Returns the count of the files in this folder |
java.util.List |
getFiles()
Returns content of this folder |
void |
load()
Loads the contents of this folder |
protected void |
loadFiles(FolderInfo result,
java.io.File rootFolder)
Loads the contents of the specified folder |
| Methods inherited from class com.jniwrapper.win32.io.FileInfo |
getAttributes, getFileName, getLastModified, getSize, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FolderInfo(java.lang.String fileName)
FolderInfo
fileName - Path to the folder
public FolderInfo(java.lang.String path,
java.io.FileFilter filter,
boolean recursive)
throws java.lang.IllegalArgumentException
FolderInfo with specified file filter
path - Path to the folderfilter - File filterrecursive - If this value is TRUE subfolders and theirs files will be listed
java.lang.IllegalArgumentException
public FolderInfo(java.lang.String path,
boolean recursive)
FolderInfo
path - Path to the folderrecursive - If this value is TRUE subfolders and theirs files will be listed| Method Detail |
protected void loadFiles(FolderInfo result,
java.io.File rootFolder)
public void load()
public int getFileCount()
public java.util.List getFiles()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||