|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.core.model.RSEPersistableObject
org.eclipse.rse.core.model.PropertySetContainer
org.eclipse.rse.core.model.RSEModelObject
org.eclipse.rse.core.subsystems.SubSystem
org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystem
org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystem
public final class FileServiceSubSystem
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.rse.core.subsystems.SubSystem |
|---|
SubSystem.ChangeStatusJob, SubSystem.ConnectJob, SubSystem.DisconnectJob, SubSystem.DisplayErrorMessageJob, SubSystem.GetPropertiesJob, SubSystem.GetPropertyJob, SubSystem.ResolveAbsoluteJob, SubSystem.ResolveAbsolutesJob, SubSystem.ResolveRelativeJob, SubSystem.SetPropertiesJob, SubSystem.SetPropertyJob, SubSystem.SubSystemOperationJob, SubSystem.SystemMessageDialogRunnable |
| Field Summary | |
|---|---|
protected IFileService |
_hostFileService
|
protected IHostFileToRemoteFileAdapter |
_hostFileToRemoteFileAdapter
|
protected ISearchService |
_hostSearchService
|
protected ILanguageUtilityFactory |
_languageUtilityFactory
|
protected IRemoteFile |
_userHome
|
| Fields inherited from class org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystem |
|---|
_cachedRemoteFiles, _searchHistory, currFilterString, DEFAULT_CONTEXT, DEFAULT_CONTEXT_NOFILTERSTRING, FILTERSTRING_LISTROOTS, folderNameMatcher, matcher, osCmdShell, osName, osVarsSet, osWindows, osWindows95, osWindowsNT |
| Fields inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
NO_CHILDREN |
| Fields inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
NO_CHILDREN |
| Constructor Summary | |
|---|---|
FileServiceSubSystem(IHost host,
IConnectorService connectorService,
IFileService hostFileService,
IHostFileToRemoteFileAdapter fileAdapter,
ISearchService searchService)
|
|
| Method Summary | |
|---|---|
void |
cancelSearch(IHostSearchResultConfiguration searchConfig)
Given a search configuration, cancel the search. |
boolean |
copy(IRemoteFile sourceFolderOrFile,
IRemoteFile targetFolder,
String newName,
IProgressMonitor monitor)
Copy a file or folder to a new target parent folder. |
boolean |
copyBatch(IRemoteFile[] sourceFolderOrFiles,
IRemoteFile targetFolder,
IProgressMonitor monitor)
Copy a set of remote files or folders to a new target parent folder. |
IRemoteFile |
createFile(IRemoteFile fileToCreate,
IProgressMonitor monitor)
Create a new file, given its IRemoteFile object (these do not have to represent existing files). |
IRemoteFile |
createFolder(IRemoteFile folderToCreate,
IProgressMonitor monitor)
Create a new folder, given its IRemoteFile object (these do not have to represent existing folders) The parent folder must exist for this to succeed. |
IRemoteFile |
createFolders(IRemoteFile folderToCreate,
IProgressMonitor monitor)
Given an IRemoteFile for a folder, this will create that folder and any missing parent folders in its path. |
IHostSearchResultConfiguration |
createSearchConfiguration(IHostSearchResultSet resultSet,
Object searchTarget,
SystemSearchString searchString)
|
boolean |
delete(IRemoteFile folderOrFile,
IProgressMonitor monitor)
Delete the given remote file or folder. |
boolean |
deleteBatch(IRemoteFile[] folderOrFiles,
IProgressMonitor monitor)
Delete the given batch of remote file or folder. |
void |
download(IRemoteFile file,
String localpath,
String encoding,
IProgressMonitor monitor)
Get the remote file and save it locally. |
IRemoteFileContext |
getContextFor(IRemoteFile file)
|
protected IHostFile |
getFile(String parentPath,
String fileName,
IProgressMonitor monitor)
|
protected IHostFile[] |
getFiles(String parentPath,
String fileNameFilter,
IProgressMonitor monitor)
|
protected IHostFile[] |
getFilesAndFolders(String parentPath,
String fileNameFilter,
IProgressMonitor monitor)
|
IFileService |
getFileService()
Returns the file service used by this subsystem. |
protected IHostFile[] |
getFolders(String parentPath,
String fileNameFilter,
IProgressMonitor monitor)
|
IHostFileToRemoteFileAdapter |
getHostFileToRemoteFileAdapter()
|
InputStream |
getInputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
Defers to the file service. |
ILanguageUtilityFactory |
getLanguageUtilityFactory()
Returns a language utility factory associated with this subsystem. |
OutputStream |
getOutputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
Defers to the file service. |
IRemoteFile |
getParentFolder(IRemoteFile folderOrFile,
IProgressMonitor monitor)
Given a folder or file, return its parent folder object. |
String |
getRemoteEncoding()
Returns the encoding from the file service being used by this subsystem. |
IRemoteFile |
getRemoteFileObject(IRemoteFile parent,
String folderOrFileName,
IProgressMonitor monitor)
Constructs an IRemoteFile object given an unqualified file or folder name and its parent folder object. |
IRemoteFile |
getRemoteFileObject(String folderOrFileName,
IProgressMonitor monitor)
Constructs and returns an IRemoteFile object given a fully-qualified file or folder name. |
protected IHostFile[] |
getRoots(IProgressMonitor monitor)
|
ISearchService |
getSearchService()
|
Class |
getServiceType()
|
IRemoteFileContext |
getTheDefaultContext()
|
protected IRemoteFile |
getUserHome()
|
void |
initializeSubSystem(IProgressMonitor monitor)
Initialize this subsystem instance after the corresponding IConnectorService connect method finishes. |
protected boolean |
isBinary(IRemoteFile source)
|
protected boolean |
isBinary(String localEncoding,
String hostEncoding,
String remotePath)
|
boolean |
isCaseSensitive()
Return true if file names are case-sensitive. |
IRemoteFile[] |
listFiles(IRemoteFile parent,
String fileNameFilter,
IRemoteFileContext context,
IProgressMonitor monitor)
Return the array of IRemoteFile instances, matching the given pattern, that are contained in the given folder. |
IRemoteFile[] |
listFolders(IRemoteFile parent,
String fileNameFilter,
IRemoteFileContext context,
IProgressMonitor monitor)
Return a subsetted list of remote folders in the given parent folder on the remote system. |
IRemoteFile[] |
listFoldersAndFiles(IRemoteFile parent,
String fileNameFilter,
IRemoteFileContext context,
IProgressMonitor monitor)
Return a list of remote folders and files in the given folder. |
IRemoteFile[] |
listRoots(IRemoteFileContext context,
IProgressMonitor monitor)
Return a list of roots/drives on the remote system. |
boolean |
move(IRemoteFile sourceFolderOrFile,
IRemoteFile targetFolder,
String newName,
IProgressMonitor monitor)
Move a file or folder to a new target parent folder. |
boolean |
rename(IRemoteFile folderOrFile,
String newName,
IProgressMonitor monitor)
Rename the given remote file or folder. |
void |
search(IHostSearchResultConfiguration searchConfig)
Given a search configuration, searches for its results. |
void |
setFileService(IFileService service)
|
void |
setHostFileToRemoteFileAdapter(IHostFileToRemoteFileAdapter hostFileAdapter)
|
void |
setLanguageUtilityFactory(ILanguageUtilityFactory factory)
|
boolean |
setLastModified(IRemoteFile folderOrFile,
long newDate,
IProgressMonitor monitor)
Set the last modified date for the given file or folder. |
boolean |
setReadOnly(IRemoteFile folderOrFile,
boolean readOnly,
IProgressMonitor monitor)
Set a files read-only permissions. |
void |
setSearchService(ISearchService service)
|
void |
switchServiceFactory(IServiceSubSystemConfiguration fact)
Switch to use another protocol |
void |
uninitializeSubSystem(IProgressMonitor monitor)
Uninitialize this subsystem just after disconnect. |
void |
upload(String source,
IRemoteFile destination,
String encoding,
IProgressMonitor monitor)
Put the local copy of the remote file back to the remote location. |
void |
upload(String source,
String srcEncoding,
String remotePath,
String rmtEncoding,
IProgressMonitor monitor)
Put the local copy of the remote file back to the remote location. |
| Methods inherited from class org.eclipse.rse.core.model.RSEModelObject |
|---|
getDescription |
| Methods inherited from class org.eclipse.rse.core.model.PropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from class org.eclipse.rse.core.model.RSEPersistableObject |
|---|
compareStrings, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFileSubSystem |
|---|
getLineSeparator, getLocalAddress, getParentFolderName, getParentRemoteFileSubSystemConfiguration, getPathSeparator, getPathSeparatorChar, getRemoteFileObjects, getRemoteSearchResultObject, getSeparator, getSeparatorChar, getUnusedPort, listFiles, listFiles, listFolders, listFolders, listFoldersAndFiles, listFoldersAndFiles, listRoots, supportsEncoding |
| Methods inherited from interface org.eclipse.rse.core.subsystems.IRemoteObjectResolver |
|---|
getObjectWithAbsoluteName |
| Methods inherited from interface org.eclipse.core.runtime.jobs.ISchedulingRule |
|---|
contains, isConflicting |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEModelObject |
|---|
getDescription |
| Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
commit, getPersistableChildren, getPersistableParent, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
| Methods inherited from interface org.eclipse.rse.core.subsystems.IRemoteObjectResolver |
|---|
getObjectWithAbsoluteName |
| Methods inherited from interface org.eclipse.core.runtime.jobs.ISchedulingRule |
|---|
contains, isConflicting |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEModelObject |
|---|
getDescription |
| Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
commit, getPersistableChildren, getPersistableParent, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
| Field Detail |
|---|
protected ILanguageUtilityFactory _languageUtilityFactory
protected IFileService _hostFileService
protected ISearchService _hostSearchService
protected IHostFileToRemoteFileAdapter _hostFileToRemoteFileAdapter
protected IRemoteFile _userHome
| Constructor Detail |
|---|
public FileServiceSubSystem(IHost host,
IConnectorService connectorService,
IFileService hostFileService,
IHostFileToRemoteFileAdapter fileAdapter,
ISearchService searchService)
| Method Detail |
|---|
public boolean isCaseSensitive()
RemoteFileSubSystem
isCaseSensitive in interface IRemoteFileSubSystemisCaseSensitive in class RemoteFileSubSystempublic IRemoteFileContext getContextFor(IRemoteFile file)
public IRemoteFileContext getTheDefaultContext()
public IFileService getFileService()
IFileServiceSubSystem
getFileService in interface IFileServiceSubSystempublic void setFileService(IFileService service)
public ISearchService getSearchService()
public void setSearchService(ISearchService service)
public IHostFileToRemoteFileAdapter getHostFileToRemoteFileAdapter()
getHostFileToRemoteFileAdapter in interface IFileServiceSubSystempublic void setHostFileToRemoteFileAdapter(IHostFileToRemoteFileAdapter hostFileAdapter)
public IRemoteFile getRemoteFileObject(IRemoteFile parent,
String folderOrFileName,
IProgressMonitor monitor)
throws SystemMessageException
getRemoteFileObject in interface IRemoteFileSubSystemparent - Folder containing the folder or filefolderOrFileName - Un-qualified folder or file namemonitor - the progress monitor
SystemMessageExceptionIRemoteFile
public IRemoteFile getRemoteFileObject(String folderOrFileName,
IProgressMonitor monitor)
throws SystemMessageException
getRemoteFileObject in interface IRemoteFileSubSystemfolderOrFileName - Fully qualified folder or file namemonitor - the progress monitor
SystemMessageException - in case an error occurs contacting the
remote system while retrieving the requested remote object.IRemoteFileprotected IRemoteFile getUserHome()
protected IHostFile[] getFolders(String parentPath,
String fileNameFilter,
IProgressMonitor monitor)
throws SystemMessageException
SystemMessageException
protected IHostFile[] getFiles(String parentPath,
String fileNameFilter,
IProgressMonitor monitor)
throws SystemMessageException
SystemMessageException
protected IHostFile[] getFilesAndFolders(String parentPath,
String fileNameFilter,
IProgressMonitor monitor)
throws SystemMessageException
SystemMessageException
protected IHostFile getFile(String parentPath,
String fileName,
IProgressMonitor monitor)
throws SystemMessageException
SystemMessageException
protected IHostFile[] getRoots(IProgressMonitor monitor)
throws InterruptedException,
SystemMessageException
InterruptedException
SystemMessageException
public IRemoteFile[] listFoldersAndFiles(IRemoteFile parent,
String fileNameFilter,
IRemoteFileContext context,
IProgressMonitor monitor)
throws SystemMessageException
The files part of the list is subsetted by the given file name filter. It can be null for no subsetting. This version is called by RemoteFileSubSystemImpl's resolveFilterString(s).
listFoldersAndFiles in interface IRemoteFileSubSystemparent - The parent folder to list folders and files infileNameFilter - The name pattern to subset the file list by, or null to return all files.context - The holder of state informationmonitor - the progress monitor
SystemMessageException
public IRemoteFile[] listFiles(IRemoteFile parent,
String fileNameFilter,
IRemoteFileContext context,
IProgressMonitor monitor)
throws SystemMessageException
listFiles in interface IRemoteFileSubSystemparent - The parent folder to list files infileNameFilter - The name pattern to subset the list by, or null to return all files.context - The holder of state informationmonitor - the progress monitor
SystemMessageException
public IRemoteFile[] listFolders(IRemoteFile parent,
String fileNameFilter,
IRemoteFileContext context,
IProgressMonitor monitor)
throws SystemMessageException
listFolders in interface IRemoteFileSubSystemparent - The parent folder to list folders infileNameFilter - The name pattern for subsetting the file list when this folder is subsequently expandedcontext - The holder of state informationmonitor - the progress monitor
SystemMessageException
public IRemoteFile[] listRoots(IRemoteFileContext context,
IProgressMonitor monitor)
throws InterruptedException
IRemoteFileSubSystem
listRoots in interface IRemoteFileSubSystemInterruptedException
public void download(IRemoteFile file,
String localpath,
String encoding,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
download in interface IRemoteFileSubSystemfile - remote file that represents the file to be obtainedlocalpath - the absolute path of the local fileencoding - the encoding of the local filemonitor - the progress monitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.
protected boolean isBinary(String localEncoding,
String hostEncoding,
String remotePath)
protected boolean isBinary(IRemoteFile source)
public void upload(String source,
String srcEncoding,
String remotePath,
String rmtEncoding,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
upload in interface IRemoteFileSubSystemsource - the absolute path of the local copysrcEncoding - the encoding of the local copyremotePath - remote file that represents the file on the serverrmtEncoding - the encoding of the remote file.
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.
public void upload(String source,
IRemoteFile destination,
String encoding,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
upload in interface IRemoteFileSubSystemsource - the absolute path of the local copydestination - remote file that represents the file on the serverencoding - the encoding of the local copymonitor - the progress monitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.
public boolean copy(IRemoteFile sourceFolderOrFile,
IRemoteFile targetFolder,
String newName,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
copy in interface IRemoteFileSubSystemsourceFolderOrFile - The file or folder to copytargetFolder - The folder to copy to. No guarantee it is on the same system, so be sure to check getSystemConnection()!newName - The new name for the copied file or foldermonitor - progress monitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.
public boolean copyBatch(IRemoteFile[] sourceFolderOrFiles,
IRemoteFile targetFolder,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
copyBatch in interface IRemoteFileSubSystemsourceFolderOrFiles - The file or folder to copytargetFolder - The folder to copy to.monitor - progress monitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.
public IRemoteFile getParentFolder(IRemoteFile folderOrFile,
IProgressMonitor monitor)
IRemoteFileSubSystem
getParentFolder in interface IRemoteFileSubSystemfolderOrFile - folder or file to return parent of.monitor - the progress monitor
public IRemoteFile createFile(IRemoteFile fileToCreate,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
createFile in interface IRemoteFileSubSystemfileToCreate - The object representing the file to be created.
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.IRemoteFileSubSystem.createFolders(IRemoteFile,IProgressMonitor)
public IRemoteFile createFolder(IRemoteFile folderToCreate,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
createFolder in interface IRemoteFileSubSystemfolderToCreate - The object representing the folder to be created.monitor - the progress monitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.IRemoteFileSubSystem.createFolders(IRemoteFile, IProgressMonitor)
public IRemoteFile createFolders(IRemoteFile folderToCreate,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
createFolders in interface IRemoteFileSubSystemfolderToCreate - The object representing the folder to be created, along with its parents.monitor - the progress monitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.IRemoteFileSubSystem.getParentFolder(IRemoteFile, IProgressMonitor)
public boolean delete(IRemoteFile folderOrFile,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
delete in interface IRemoteFileSubSystemfolderOrFile - represents the object to be deleted.monitor - progressMonitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.
public boolean deleteBatch(IRemoteFile[] folderOrFiles,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
deleteBatch in interface IRemoteFileSubSystemfolderOrFiles - represents the objects to be deleted.monitor - progressMonitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.
public boolean rename(IRemoteFile folderOrFile,
String newName,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
rename in interface IRemoteFileSubSystemfolderOrFile - represents the object to be renamed.newName - new name to give it.monitor - the progress monitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.
public boolean move(IRemoteFile sourceFolderOrFile,
IRemoteFile targetFolder,
String newName,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
move in interface IRemoteFileSubSystemsourceFolderOrFile - The file or folder to movetargetFolder - The folder to move to. No guarantee it is on the same system, so be sure to check getSystemConnection()!newName - The new name for the moved file or foldermonitor - progress monitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.
public boolean setLastModified(IRemoteFile folderOrFile,
long newDate,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
setLastModified in interface IRemoteFileSubSystemfolderOrFile - represents the object to be renamed.newDate - new date, in milliseconds from epoch, to assign.monitor - the progress monitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.
public boolean setReadOnly(IRemoteFile folderOrFile,
boolean readOnly,
IProgressMonitor monitor)
throws SystemMessageException
IRemoteFileSubSystem
setReadOnly in interface IRemoteFileSubSystemfolderOrFile - represents the object to be renamed.readOnly - whether to set it to be read-only or notmonitor - the progress monitor
SystemMessageException - if an error occurs.
Typically this would be one of those in the
RemoteFileException family.public ILanguageUtilityFactory getLanguageUtilityFactory()
IRemoteFileSubSystem
getLanguageUtilityFactory in interface IRemoteFileSubSystempublic void setLanguageUtilityFactory(ILanguageUtilityFactory factory)
public void search(IHostSearchResultConfiguration searchConfig)
IRemoteFileSubSystem
search in interface IRemoteFileSubSystemsearchConfig - a search configuration.public void cancelSearch(IHostSearchResultConfiguration searchConfig)
IRemoteFileSubSystem
cancelSearch in interface IRemoteFileSubSystemcancelSearch in class RemoteFileSubSystemsearchConfig - a search configuration.
public IHostSearchResultConfiguration createSearchConfiguration(IHostSearchResultSet resultSet,
Object searchTarget,
SystemSearchString searchString)
createSearchConfiguration in interface IFileServiceSubSystempublic void switchServiceFactory(IServiceSubSystemConfiguration fact)
switchServiceFactory in interface IServiceSubSystempublic Class getServiceType()
getServiceType in interface IServiceSubSystempublic void initializeSubSystem(IProgressMonitor monitor)
SubSystemIConnectorService connect method finishes.
This method should be overridden if any initialization for the subsystem needs
to occur at this time
The default implementation currently does nothing, but overriding methods should call super.
initializeSubSystem in interface ISubSysteminitializeSubSystem in class RemoteFileSubSystemmonitor - a monitor that can be used to show progress or provide cancellation.public void uninitializeSubSystem(IProgressMonitor monitor)
SubSystem
uninitializeSubSystem in interface ISubSystemuninitializeSubSystem in class RemoteFileSubSystemmonitor - a progress monitor that can be used to show uninitialization progress can provide cancellation.public String getRemoteEncoding()
getRemoteEncoding in interface IRemoteFileSubSystemgetRemoteEncoding in class RemoteFileSubSystemRemoteFileSubSystem.getRemoteEncoding()
public InputStream getInputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
throws SystemMessageException
getInputStream in interface IRemoteFileSubSystemremoteParent - the absolute path of the parent.remoteFile - the name of the remote file.isBinary - true if the file is a binary file, false otherwise.monitor - the progress monitor.
SystemMessageException - if an error occurs.IRemoteFileSubSystem.getInputStream(java.lang.String, java.lang.String, boolean, org.eclipse.core.runtime.IProgressMonitor)
public OutputStream getOutputStream(String remoteParent,
String remoteFile,
boolean isBinary,
IProgressMonitor monitor)
throws SystemMessageException
getOutputStream in interface IRemoteFileSubSystemremoteParent - the absolute path of the parent.remoteFile - the name of the remote file.isBinary - true if the file is a binary file, false otherwise.monitor - the progress monitor.
SystemMessageException - if an error occurs.IRemoteFileSubSystem.getOutputStream(java.lang.String, java.lang.String, boolean, org.eclipse.core.runtime.IProgressMonitor)
|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||