RSE
Release 1.0

org.eclipse.rse.subsystems.files.dstore.model
Class DStoreFile

java.lang.Object
  extended byorg.eclipse.rse.subsystems.files.core.subsystems.RemoteFile
      extended byorg.eclipse.rse.subsystems.files.core.servicesubsystem.AbstractRemoteFile
          extended byorg.eclipse.rse.subsystems.files.dstore.model.DStoreFile
All Implemented Interfaces:
Cloneable, Comparable, IAdaptable, IRemoteContainer, IRemoteFile, IRemotePropertyHolder, ISchedulingRule, ISystemContainer
Direct Known Subclasses:
DStoreVirtualFile

public class DStoreFile
extends AbstractRemoteFile
implements IRemoteFile


Field Summary
protected  DStoreHostFile _dstoreHostFile
           
 
Fields inherited from class org.eclipse.rse.subsystems.files.core.servicesubsystem.AbstractRemoteFile
_classiciation, _hostFile, _subSystem
 
Fields inherited from class org.eclipse.rse.subsystems.files.core.subsystems.RemoteFile
_contents, _context, _isStale, _label, _parentFile, fullyQualifiedName, isContainer, properties, propertyStates, remoteObj
 
Fields inherited from interface org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFile
CONNECTION_DELIMITER, ISROOT_NO, ISROOT_YES
 
Constructor Summary
DStoreFile(FileServiceSubSystem ss, IRemoteFileContext context, IRemoteFile parent, DStoreHostFile hostFile)
           
 
Method Summary
 String getCanonicalPath()
          Returns the canonical path of the remote file.
 String getClassification()
          Returns the classification of this file.
 boolean isVirtual()
           
 
Methods inherited from class org.eclipse.rse.subsystems.files.core.servicesubsystem.AbstractRemoteFile
canRead, canWrite, compareTo, exists, getAbsolutePath, getHostFile, getLabel, getLastModified, getLength, getName, getParentName, getParentNoRoot, getParentPath, getParentRemoteFileSubSystem, getRoot, getSystemConnection, isDirectory, isFile, isHidden, isRoot, showBriefPropertySet, showReadOnlyProperty
 
Methods inherited from class org.eclipse.rse.subsystems.files.core.subsystems.RemoteFile
contains, containsFilterKey, copyContentsTo, equals, getAbsolutePathPlusConnection, getAdapter, getAllFilterStrings, getComment, getContents, getContents, getContext, getExtension, getFile, getFilterString, getHostName, getLastModifiedDate, getLineSeparator, getParentRemoteFile, getParentRemoteFileSubSystemConfiguration, getProperties, getProperty, getSeparator, getSeparatorChar, hasContents, hasContents, isAncestorOf, isArchive, isBinary, isConflicting, isDescendantOf, isExecutable, isLink, isPropertyStale, isStale, isText, isUnix, markAllPropertiesStale, markPropertyStale, markStale, markStale, replaceContent, setContents, setFile, setFilterString, setIsContainer, setLabel, setParentRemoteFile, setProperties, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFile
canRead, canWrite, compareTo, exists, getAbsolutePath, getAbsolutePathPlusConnection, getAllFilterStrings, getComment, getExtension, getFile, getFilterString, getHostFile, getLabel, getLastModified, getLastModifiedDate, getLength, getLineSeparator, getName, getParentName, getParentNoRoot, getParentPath, getParentRemoteFile, getParentRemoteFileSubSystem, getRoot, getSeparator, getSeparatorChar, getSystemConnection, isAncestorOf, isArchive, isBinary, isDescendantOf, isDirectory, isExecutable, isFile, isHidden, isLink, isRoot, isText, showBriefPropertySet, showReadOnlyProperty
 
Methods inherited from interface org.eclipse.rse.core.subsystems.IRemoteContainer
copyContentsTo, getContents, hasContents, replaceContent, setContents
 
Methods inherited from interface org.eclipse.rse.core.model.ISystemContainer
getContents, hasContents, isStale, markStale, markStale
 
Methods inherited from interface org.eclipse.rse.core.subsystems.IRemotePropertyHolder
getProperties, getProperty, isPropertyStale, markAllPropertiesStale, markPropertyStale, setProperties, setProperty
 
Methods inherited from interface org.eclipse.core.runtime.jobs.ISchedulingRule
contains, isConflicting
 

Field Detail

_dstoreHostFile

protected DStoreHostFile _dstoreHostFile
Constructor Detail

DStoreFile

public DStoreFile(FileServiceSubSystem ss,
                  IRemoteFileContext context,
                  IRemoteFile parent,
                  DStoreHostFile hostFile)
Method Detail

isVirtual

public boolean isVirtual()
Overrides:
isVirtual in class AbstractRemoteFile

getCanonicalPath

public String getCanonicalPath()
Description copied from interface: IRemoteFile
Returns the canonical path of the remote file.

Specified by:
getCanonicalPath in interface IRemoteFile
Returns:
the resolved path if the file is a symbolic link, or

getClassification

public String getClassification()
Description copied from interface: IRemoteFile
Returns the classification of this file. If the file is an executable, then "executable(...)" will be returned. If the file is a symbolic link then it will appear as "link(....):resolvedPath". The resolvedPath is the path that the link resolves to. A symbolic link that resolves to an executable would appear as "link(executable(...)):resolvedPath". By default this should just return "file".

Specified by:
getClassification in interface IRemoteFile
Returns:
the classification.

RSE
Release 1.0

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