public class MinimizedFileSystemElement
extends FileSystemElement
MinimizedFileSystemElement
is a FileSystemElement
that knows
if it has been populated or not.Constructor and Description |
---|
MinimizedFileSystemElement(java.lang.String name,
FileSystemElement parent,
boolean isDirectory)
Create a
MinimizedFileSystemElement with the supplied name and parent. |
Modifier and Type | Method and Description |
---|---|
AdaptableList |
getFiles(IImportStructureProvider provider)
Returns a list of the files that are immediate children.
|
AdaptableList |
getFolders(IImportStructureProvider provider)
Returns a list of the folders that are immediate children.
|
boolean |
isPopulated()
Return whether or not population has happened for the receiver.
|
void |
setPopulated()
Set whether or not population has happened for the receiver to true.
|
public MinimizedFileSystemElement(java.lang.String name, FileSystemElement parent, boolean isDirectory)
MinimizedFileSystemElement
with the supplied name and parent.name
- the name of the file element this representsparent
- the containing parentisDirectory
- indicated if this could have children or notpublic AdaptableList getFiles(IImportStructureProvider provider)
public AdaptableList getFolders(IImportStructureProvider provider)
public boolean isPopulated()
public void setPopulated()