Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.subsystems.files.core.subsystems
Interface IHostFileToRemoteFileAdapter


public interface IHostFileToRemoteFileAdapter

Provider interface for implementers of RSE IFileService instances, by which they convert their internal service objects into objects suitable for the RSE file subsystem. Must be implemented and returned by overriding the IFileServiceSubSystemConfiguration.getHostFileAdapter() method in the contributed concrete file subsystem configuration.


Method Summary
  AbstractRemoteFile convertToRemoteFile ( FileServiceSubSystem ss, IRemoteFileContext context, IRemoteFile parent, IHostFile node)
          Convert a single IHostFile object from the file service into a remote file object.
  AbstractRemoteFile[] convertToRemoteFiles ( FileServiceSubSystem ss, IRemoteFileContext context, IRemoteFile parent, IHostFile[] nodes)
          Convert a list of IHostFile objects from the file service into remote file objects.
 

Method Detail

convertToRemoteFiles

AbstractRemoteFile[] convertToRemoteFiles(
FileServiceSubSystem ss,
                                          
IRemoteFileContext context,
                                          
IRemoteFile parent,
                                          
IHostFile[] nodes)
Convert a list of IHostFile objects from the file service into remote file objects. Used to return IRemoteFile[] before RSE 3.0, returns AbstractRemoteFile since RSE 3.0.

Parameters:
ss - The file service subsystem to which the remote files belong.
context - The context (connection, subsystem, filter) under which the files have been queried.
parent - The parent IRemoteFile below which the new nodes should appear. Can be null when converting root files.
nodes - IHostFile nodes from the file service
Returns:
an array of converted remote file objects.
Since:
org.eclipse.rse.subsystems.files.core 3.0

convertToRemoteFile

AbstractRemoteFile convertToRemoteFile(
FileServiceSubSystem ss,
                                       
IRemoteFileContext context,
                                       
IRemoteFile parent,
                                       
IHostFile node)
Convert a single IHostFile object from the file service into a remote file object. Used to return IRemoteFile before RSE 3.0, returns AbstractRemoteFile since RSE 3.0.

Parameters:
ss - The file service subsystem to which the remote files belong.
context - The context (connection, subsystem, filter) under which the files have been queried.
parent - The parent IRemoteFile below which the new nodes should appear. Can be null when converting root files.
node - IHostFile node from the file service
Returns:
converted remote file object.
Since:
org.eclipse.rse.subsystems.files.core 3.0

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire