Community
Participate
Working Groups
IRemoteFileSubSystem has a number of overloaded methods for download and upload. Most of these are unnecessary and make the interface complicated. All download methods will be consolidated to one method: - public void download(IRemoteFile source, String destination, String encoding, IProgressMonitor monitor) throws RemoteFileSecurityException, RemoteFileIOException All upload methods will be consolidated to two methods: - public void upload(String source, IRemoteFile destination, String encoding, IProgressMonitor monitor) throws RemoteFileSecurityException, RemoteFileIOException - public void upload(String source, String srcEncoding, String remotePath, String rmtEncoding, IProgressMonitor monitor) throws RemoteFileSecurityException, RemoteFileIOException The first upload method is for cases where the destination IRemoteFile exists and we can check for authority to write. The second is the case where the destination will be created if needed, i.e. the destination path is specified as a string.
Also cleaned up the subclass RemoteFileSubSystem so that now there are no implementations of download and upload in the class. The FileServiceSubSystem implements the download and upload methods, as before, i.e. the overloaded methods that RemoteFileSubSystem implemented were redundant and all ended up calling the download and upload methods that were implemented in FileServiceSubSystem.
The changes broke the build for org.eclipse.rse.importexport Please re-import the rse-committer.psf team project set from the www-tm-development project and fix the build errors.
The projects were not in my working set. Fixed problems in the project.
[target cleanup] 2.0 M6 was the original target milestone for this bug