Remote Systems
v6.4.1

com.ibm.etools.systems.files.importexport.files
Class MinimizedFileSystemElement

java.lang.Object
  extended bycom.ibm.etools.systems.files.importexport.files.FileSystemElement
      extended bycom.ibm.etools.systems.files.importexport.files.MinimizedFileSystemElement
All Implemented Interfaces:
IAdaptable

public class MinimizedFileSystemElement
extends FileSystemElement

The MinimizedFileSystemElement is a FileSystemElement that knows if it has been populated or not.


Field Summary
static String Copyright
           
 
Constructor Summary
MinimizedFileSystemElement(String name, FileSystemElement parent, boolean isDirectory)
          Create a MinimizedFileSystemElement with the supplied name and parent.
 
Method Summary
 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.
 
Methods inherited from class com.ibm.etools.systems.files.importexport.files.FileSystemElement
addChild, getAdapter, getFileNameExtension, getFiles, getFileSystemObject, getFolders, getName, getParent, isDirectory, removeFolder, setFileSystemObject, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

MinimizedFileSystemElement

public MinimizedFileSystemElement(String name,
                                  FileSystemElement parent,
                                  boolean isDirectory)
Create a MinimizedFileSystemElement with the supplied name and parent.

Parameters:
name - the name of the file element this represents
parent - the containing parent
isDirectory - indicated if this could have children or not
Method Detail

getFiles

public AdaptableList getFiles(IImportStructureProvider provider)
Returns a list of the files that are immediate children. Use the supplied provider if it needs to be populated. of this folder.


getFolders

public AdaptableList getFolders(IImportStructureProvider provider)
Returns a list of the folders that are immediate children. Use the supplied provider if it needs to be populated. of this folder.


isPopulated

public boolean isPopulated()
Return whether or not population has happened for the receiver.


setPopulated

public void setPopulated()
Set whether or not population has happened for the receiver to true.


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.