Remote Systems
v6.4.1

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

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

public class RemoteFileExportData
extends Object

Holds data of what to export.


Constructor Summary
RemoteFileExportData()
          Constructor.
 
Method Summary
 IRemoteFileExportDescriptionReader createExportDescriptionReader(InputStream inputStream)
          Creates and returns an export description writer.
 IRemoteFileExportDescriptionWriter createExportDescriptionWriter(OutputStream outputStream)
          Creates and returns an export description writer.
 IFile getDescriptionFile()
          Gets the description file as a workspace resource.
 String getDescriptionFilePath()
           
 String getDestination()
           
 List getElements()
          Returns the elements to be exported.
 boolean isCreateDirectoryStructure()
           
 boolean isCreateSelectionOnly()
           
 boolean isOverWriteExistingFiles()
           
 boolean isSaveSettings()
           
 void setCreateDirectoryStructure(boolean createDirectoryStructure)
           
 void setCreateSelectionOnly(boolean createSelectionOnly)
           
 void setDescriptionFilePath(String descriptionFilePath)
           
 void setDestination(String destination)
           
 void setElements(List elements)
          Sets the elements to export.
 void setOverWriteExistingFiles(boolean overWriteExistingFiles)
           
 void setSaveSettings(boolean saveSettings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteFileExportData

public RemoteFileExportData()
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.

getDestination

public String getDestination()
Returns:
Returns the destination.

setDestination

public void setDestination(String destination)
Parameters:
destination - The destination to set.

getElements

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

Returns:
the elements.

setElements

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

Parameters:
elements - the elements.

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.

createExportDescriptionWriter

public IRemoteFileExportDescriptionWriter createExportDescriptionWriter(OutputStream outputStream)
Creates and returns an export description writer.


createExportDescriptionReader

public IRemoteFileExportDescriptionReader createExportDescriptionReader(InputStream inputStream)
Creates and returns an export 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.