Remote Systems
v6.4.1

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

java.lang.Object
  extended bycom.ibm.etools.systems.files.importexport.files.RemoteFileImportData

public class RemoteFileImportData
extends Object

Holds data of what to import.


Constructor Summary
RemoteFileImportData()
          Constructor.
 
Method Summary
 void addToList(UniFilePlus object)
          Add to the list of files to import.
 IRemoteFileImportDescriptionReader createImportDescriptionReader(InputStream inputStream)
          Creates and returns an import description writer.
 IRemoteFileImportDescriptionWriter createImportDescriptionWriter(OutputStream outputStream)
          Creates and returns an import description writer.
 boolean doesExist(UniFilePlus object)
          Does the file exist.
 IPath getContainerPath()
           
 IFile getDescriptionFile()
          Gets the description file as a workspace resource.
 String getDescriptionFilePath()
           
 List getElements()
          Returns the elements to be imported.
 Object getSource()
          Gets the source.
 boolean isCreateDirectoryStructure()
           
 boolean isCreateSelectionOnly()
           
 boolean isOverWriteExistingFiles()
           
 boolean isSaveSettings()
           
 void setContainerPath(IPath containerPath)
           
 void setCreateDirectoryStructure(boolean createDirectoryStructure)
           
 void setCreateSelectionOnly(boolean createSelectionOnly)
           
 void setDescriptionFilePath(String descriptionFilePath)
           
 void setElements(List elements)
          Sets the elements to imported.
 void setOverWriteExistingFiles(boolean overWriteExistingFiles)
           
 void setSaveSettings(boolean saveSettings)
           
 void setSource(Object source)
          Sets the source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteFileImportData

public RemoteFileImportData()
Constructor.

Method Detail

getDescriptionFilePath

public String getDescriptionFilePath()
Returns:
Returns the descriptionFilePath.

getDescriptionFile

public IFile getDescriptionFile()
Gets the description file as a workspace resource.

Returns:
a file representing the description file.

setDescriptionFilePath

public void setDescriptionFilePath(String descriptionFilePath)
Parameters:
descriptionFilePath - The descriptionFilePath to set.

getContainerPath

public IPath getContainerPath()
Returns:
returns container path.

setContainerPath

public void setContainerPath(IPath containerPath)
Parameters:
containerPath - the container path.

getSource

public Object getSource()
Gets the source.

Returns:
the source from which to import.

setSource

public void setSource(Object source)
Sets the source.

Parameters:
source - the source from which to import.

getElements

public List getElements()
Returns the elements to be imported.

Returns:
the elements.

setElements

public void setElements(List elements)
Sets the elements to imported.

Parameters:
elements - the elements.

addToList

public void addToList(UniFilePlus object)
Add to the list of files to import.

Parameters:
object - the file object.

doesExist

public boolean doesExist(UniFilePlus object)
Does the file exist.

Parameters:
object - the file object.
Returns:
true of the

isOverWriteExistingFiles

public boolean isOverWriteExistingFiles()
Returns:
Returns the overWriteExistingFiles.

setOverWriteExistingFiles

public void setOverWriteExistingFiles(boolean overWriteExistingFiles)
Parameters:
overWriteExistingFiles - The overWriteExistingFiles to set.

isSaveSettings

public boolean isSaveSettings()
Returns:
Returns the saveSettings.

setSaveSettings

public void setSaveSettings(boolean saveSettings)
Parameters:
saveSettings - The saveSettings to set.

isCreateDirectoryStructure

public boolean isCreateDirectoryStructure()
Returns:
Returns the createDirectoryStructure.

setCreateDirectoryStructure

public void setCreateDirectoryStructure(boolean createDirectoryStructure)
Parameters:
createDirectoryStructure - The createDirectoryStructure to set.

isCreateSelectionOnly

public boolean isCreateSelectionOnly()
Returns:
Returns the createSelectionOnly.

setCreateSelectionOnly

public void setCreateSelectionOnly(boolean createSelectionOnly)
Parameters:
createSelectionOnly - The createSelectionOnly to set.

createImportDescriptionWriter

public IRemoteFileImportDescriptionWriter createImportDescriptionWriter(OutputStream outputStream)
Creates and returns an import description writer.


createImportDescriptionReader

public IRemoteFileImportDescriptionReader createImportDescriptionReader(InputStream inputStream)
Creates and returns an import description writer.


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.