org.inria.ns.reflex.modules.io.remote
Class RemoteFileObject

java.lang.Object
  extended by org.apache.commons.vfs.provider.AbstractFileObject
      extended by org.inria.ns.reflex.modules.io.remote.RemoteFileObject
All Implemented Interfaces:
FileObject

public class RemoteFileObject
extends AbstractFileObject
implements FileObject

A convenient remote file object.

Since the scheme doesn't denote a protocol for accessing the content, a specific content manager must be set.

Author:
Philippe Poulard

Field Summary
 ContentManager contentManager
          The content manager.
 
Constructor Summary
RemoteFileObject(FileName name, RemoteFileSystem fs)
          Construct the object that represent a remote file.
 
Method Summary
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileObject
canRenameTo, close, copyFrom, createFile, createFolder, delete, delete, exists, findFiles, findFiles, getChild, getChildren, getContent, getFileOperations, getFileSystem, getInputStream, getName, getOutputStream, getOutputStream, getParent, getRandomAccessContent, getType, getURL, holdObject, isAttached, isContentOpen, isHidden, isReadable, isWriteable, moveTo, refresh, resolveFile, resolveFile, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.commons.vfs.FileObject
canRenameTo, close, copyFrom, createFile, createFolder, delete, delete, exists, findFiles, findFiles, getChild, getChildren, getContent, getFileOperations, getFileSystem, getName, getParent, getType, getURL, isAttached, isContentOpen, isHidden, isReadable, isWriteable, moveTo, refresh, resolveFile, resolveFile
 

Field Detail

contentManager

public ContentManager contentManager
The content manager.

Constructor Detail

RemoteFileObject

public RemoteFileObject(FileName name,
                        RemoteFileSystem fs)
Construct the object that represent a remote file.

Parameters:
name - The name of this file.
fs - The file system that deliver this file.