RSE
Release 1.0

org.eclipse.rse.eclipse.filesystem
Class RSEFileStoreRemoteFileWrapper

java.lang.Object
  extended byorg.eclipse.core.runtime.PlatformObject
      extended byorg.eclipse.core.filesystem.provider.FileStore
          extended byorg.eclipse.rse.eclipse.filesystem.RSEFileStoreRemoteFileWrapper
All Implemented Interfaces:
IAdaptable, IFileStore

public class RSEFileStoreRemoteFileWrapper
extends FileStore
implements IFileStore


Field Summary
 
Fields inherited from class org.eclipse.core.filesystem.provider.FileStore
EMPTY_FILE_INFO_ARRAY, EMPTY_STRING_ARRAY
 
Constructor Summary
RSEFileStoreRemoteFileWrapper(IFileStore parent, IRemoteFile remoteFile)
           
 
Method Summary
 String[] childNames(int options, IProgressMonitor monitor)
           
 void delete(int options, IProgressMonitor monitor)
           
 IFileInfo fetchInfo(int options, IProgressMonitor monitor)
           
 IFileStore getChild(IPath path)
           
 IFileStore getChild(String name)
           
 String getName()
           
 IFileStore getParent()
           
 IRemoteFileSubSystem getRemoteFileSubSystem()
           
 boolean isParentOf(IFileStore other)
           
 IFileStore mkdir(int options, IProgressMonitor monitor)
           
 InputStream openInputStream(int options, IProgressMonitor monitor)
           
 OutputStream openOutputStream(int options, IProgressMonitor monitor)
           
 File toLocalFile(int options, IProgressMonitor monitor)
           
 URI toURI()
           
 
Methods inherited from class org.eclipse.core.filesystem.provider.FileStore
childInfos, childStores, copy, copyDirectory, copyFile, fetchInfo, getFileSystem, move, putInfo, toString
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.filesystem.IFileStore
childInfos, childStores, copy, fetchInfo, getFileSystem, move, putInfo, toString
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

RSEFileStoreRemoteFileWrapper

public RSEFileStoreRemoteFileWrapper(IFileStore parent,
                                     IRemoteFile remoteFile)
Method Detail

getRemoteFileSubSystem

public IRemoteFileSubSystem getRemoteFileSubSystem()

childNames

public String[] childNames(int options,
                           IProgressMonitor monitor)
Specified by:
childNames in interface IFileStore

fetchInfo

public IFileInfo fetchInfo(int options,
                           IProgressMonitor monitor)
                    throws CoreException
Specified by:
fetchInfo in interface IFileStore
Throws:
CoreException

getName

public String getName()
Specified by:
getName in interface IFileStore

getParent

public IFileStore getParent()
Specified by:
getParent in interface IFileStore

isParentOf

public boolean isParentOf(IFileStore other)
Specified by:
isParentOf in interface IFileStore

openInputStream

public InputStream openInputStream(int options,
                                   IProgressMonitor monitor)
                            throws CoreException
Specified by:
openInputStream in interface IFileStore
Throws:
CoreException

toURI

public URI toURI()
Specified by:
toURI in interface IFileStore

mkdir

public IFileStore mkdir(int options,
                        IProgressMonitor monitor)
                 throws CoreException
Specified by:
mkdir in interface IFileStore
Throws:
CoreException

openOutputStream

public OutputStream openOutputStream(int options,
                                     IProgressMonitor monitor)
                              throws CoreException
Specified by:
openOutputStream in interface IFileStore
Throws:
CoreException

getChild

public IFileStore getChild(IPath path)
Specified by:
getChild in interface IFileStore

getChild

public IFileStore getChild(String name)
Specified by:
getChild in interface IFileStore

toLocalFile

public File toLocalFile(int options,
                        IProgressMonitor monitor)
                 throws CoreException
Specified by:
toLocalFile in interface IFileStore
Throws:
CoreException

delete

public void delete(int options,
                   IProgressMonitor monitor)
            throws CoreException
Specified by:
delete in interface IFileStore
Throws:
CoreException

RSE
Release 1.0

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