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
Answertopia.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
Class RemoteFileContext


java.lang.Object
  extended by 
org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileContext
All Implemented Interfaces:
IRemoteFileContext

public class RemoteFileContext
extends Object
implements IRemoteFileContext

This interface represents a place to hold contextual information stored within each remote file object.

We store in here information that might be the same for multiple remote file objects, in order to save memory. This way, we can merely hold a reference to a single object, which itself may have numerous pieces of information helpful when processing actions on a particular remote object.


Field Summary
protected   Vector allFilterStrings
           
protected   RemoteFileFilterString filterString
           
protected   IRemoteFile parentFile
           
protected   IRemoteFileSubSystem subsystem
           
 
Constructor Summary
RemoteFileContext ()
          Constructor that takes no inputs.
RemoteFileContext ( IRemoteFileSubSystem subsystem, IRemoteFile parentFileObject, RemoteFileFilterString filterString)
          Constructor that takes all inputs.
 
Method Summary
 void addFilterString ( RemoteFileFilterString additionalFilterString)
          Add an additional filter string.
  RemoteFileFilterString[] getAllFilterStrings ()
          Return all the filter string objects applicable to this folder object.
  RemoteFileFilterString getFilterString ()
          Return the filter string object resolved to get this object
  IRemoteFile getParentRemoteFile ()
          Return the parent remote file object expanded to get this object, or null if no such parent
  IRemoteFileSubSystem getParentRemoteFileSubSystem ()
          Return the parent subsystem
 void setFilterString ( RemoteFileFilterString filterString)
          Set the filter string object resolved to get this object
 void setParentRemoteFile ( IRemoteFile parentFileObject)
          Set the parent remote file object expanded to get this object
 void setParentRemoteFileSubSystem ( IRemoteFileSubSystem subsystem)
          Set the parent subsystem
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subsystem

protected 
IRemoteFileSubSystem subsystem

parentFile

protected 
IRemoteFile parentFile

filterString

protected 
RemoteFileFilterString filterString

allFilterStrings

protected 
Vector allFilterStrings
Constructor Detail

RemoteFileContext

public RemoteFileContext(
IRemoteFileSubSystem subsystem,
                         
IRemoteFile parentFileObject,
                         
RemoteFileFilterString filterString)
Constructor that takes all inputs.


RemoteFileContext

public RemoteFileContext()
Constructor that takes no inputs.

Method Detail

setParentRemoteFileSubSystem

public void setParentRemoteFileSubSystem(
IRemoteFileSubSystem subsystem)
Set the parent subsystem

Specified by:
setParentRemoteFileSubSystem in interface IRemoteFileContext

setParentRemoteFile

public void setParentRemoteFile(
IRemoteFile parentFileObject)
Set the parent remote file object expanded to get this object

Specified by:
setParentRemoteFile in interface IRemoteFileContext

setFilterString

public void setFilterString(
RemoteFileFilterString filterString)
Set the filter string object resolved to get this object

Specified by:
setFilterString in interface IRemoteFileContext

addFilterString

public void addFilterString(
RemoteFileFilterString additionalFilterString)
Add an additional filter string. This is called for folders in a multi-filter string filter. It is called for each filter string that lists the contents of the same parent path, when show subdirs is true. It is needed to support the subsequent expansion of this subdirectory, so that it can filter on all the appropriate filter strings.

Specified by:
addFilterString in interface IRemoteFileContext

getParentRemoteFileSubSystem

public 
IRemoteFileSubSystem getParentRemoteFileSubSystem()
Return the parent subsystem

Specified by:
getParentRemoteFileSubSystem in interface IRemoteFileContext

getParentRemoteFile

public 
IRemoteFile getParentRemoteFile()
Return the parent remote file object expanded to get this object, or null if no such parent

Specified by:
getParentRemoteFile in interface IRemoteFileContext

getFilterString

public 
RemoteFileFilterString getFilterString()
Return the filter string object resolved to get this object

Specified by:
getFilterString in interface IRemoteFileContext

getAllFilterStrings

public 
RemoteFileFilterString[] getAllFilterStrings()
Return all the filter string objects applicable to this folder object.

Specified by:
getAllFilterStrings in interface IRemoteFileContext

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