public class PseudoFileList extends Object
Contains a list of pseudo file list entries for a folder.
Constructor and Description |
---|
PseudoFileList()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addFile(PseudoFile pfile)
Add a pseudo file to the list
|
PseudoFile |
findFile(String fname,
boolean caseSensitive)
Search for the specified pseudo file name
|
PseudoFile |
getFileAt(int idx)
Return the file at the specified index in the list
|
boolean |
isEmpty()
Returns true if the list is empty
|
int |
numberOfFiles()
Return the count of files in the list
|
PseudoFile |
removeFile(String fname,
boolean caseSensitive)
Remove the specified pseudo file from the list
|
public final void addFile(PseudoFile pfile)
pfile
- PseudoFilepublic final int numberOfFiles()
public final boolean isEmpty()
public final PseudoFile getFileAt(int idx)
idx
- intpublic final PseudoFile findFile(String fname, boolean caseSensitive)
fname
- StringcaseSensitive
- booleanpublic final PseudoFile removeFile(String fname, boolean caseSensitive)
fname
- StringcaseSensitive
- booleanCopyright © 2005–2018 Alfresco Software. All rights reserved.