Back: VFS.DecodedFileHandler-files Up: Base classes Forward: VFS.FileHandlerWrapper class-instance creation   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.203 VFS.FileHandlerWrapper

Defined in namespace Smalltalk.VFS
Superclass: VFS.VFSHandler
Category: Streams-Files
DecodedFileHandler handles virtual filesystems that take a file that is on-disk, run a command on it, and then read from the result.

1.203.1 VFS.FileHandlerWrapper class: instance creation  (class)
1.203.2 VFS.FileHandlerWrapper: accessing  (instance)
1.203.3 VFS.FileHandlerWrapper: delegation  (instance)


1.203.1 VFS.FileHandlerWrapper class: instance creation

vfsFor: parent name: fsName
Create an instance of this class representing the contents of the given file, under the virtual filesystem fsName.


1.203.2 VFS.FileHandlerWrapper: accessing

name
Answer the VFS name for my file.

parent
Answer `parent'.

realFileName
Answer the container file containing me.


1.203.3 VFS.FileHandlerWrapper: delegation

creationTime
Answer the creation time of the file identified by the receiver. On some operating systems, this could actually be the last change time (the `last change time' has to do with permissions, ownership and the like).

isExecutable
Answer whether a file with the name contained in the receiver does exist and is executable

isReadable
Answer whether a file with the name contained in the receiver does exist and is readable

isWriteable
Answer whether a file with the name contained in the receiver does exist and is writeable

lastAccessTime
Answer the last access time of the file identified by the receiver

lastChangeTime
Answer the last change time of the file identified by the receiver (the `last change time' has to do with permissions, ownership and the like). On some operating systems, this could actually be the file creation time.

lastModifyTime
Answer the last modify time of the file identified by the receiver (the `last modify time' has to do with the actual file contents).

open: class mode: mode ifFail: aBlock
Open the receiver in the given mode (as answered by FileStream's class constant methods)

remove
Remove the file with the given path name

size
Answer the size of the file identified by the receiver



Back: VFS.FileHandlerWrapper-accessing Up: VFS.FileHandlerWrapper Forward: VFS.RealFileHandler   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on May, 22 2008 using texi2html