Back: VFS.ArchiveFileHandler-TmpFileArchiveMemberHandler protocol Up: Base classes Forward: VFS.ArchiveMemberHandler-accessing   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.200 VFS.ArchiveMemberHandler

Defined in namespace Smalltalk.VFS
Superclass: VFS.VFSHandler
Category: Streams-Files
TmpFileArchiveMemberHandler is a handler class for members of archive files that creates temporary files when extracting files from an archive.

1.200.1 VFS.ArchiveMemberHandler: accessing  (instance)
1.200.2 VFS.ArchiveMemberHandler: directory operations  (instance)
1.200.3 VFS.ArchiveMemberHandler: file operations  (instance)
1.200.4 VFS.ArchiveMemberHandler: initializing  (instance)
1.200.5 VFS.ArchiveMemberHandler: testing  (instance)


1.200.1 VFS.ArchiveMemberHandler: accessing

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).

fullName
Answer the name of the file identified by the receiver as answered by File>>#name.

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).

name
Answer the receiver's file name.

name: aName
Set the receiver's file name to aName.

parent
Answer the archive of which the receiver is a member.

realFileName
Answer `nil'.

refresh
Refresh the statistics for the receiver

size
Answer the size of the file identified by the receiver


1.200.2 VFS.ArchiveMemberHandler: directory operations

at: aName
Answer a VFSHandler for a file named `aName' residing in the directory represented by the receiver.

createDir: dirName
Create a subdirectory of the receiver, naming it dirName.

do: aBlock
Evaluate aBlock once for each file in the directory represented by the receiver, passing its name.


1.200.3 VFS.ArchiveMemberHandler: file operations

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

renameTo: newFileName
Rename the file with the given path name oldFileName to newFileName

update: aspect
Private - Update the in-archive version of the file before closing.


1.200.4 VFS.ArchiveMemberHandler: initializing

fillFrom: data
Called back by the receiver's parent when the ArchiveMemberHandler asks for file information.

parent: anArchiveFileHandler
Set the archive of which the receiver is a member.

size: bytes stCtime: ctime stMtime: mtime stAtime: atime mode: modeBits
Set the file information for the receiver.

size: bytes stMtime: mtime mode: modeBits
Set the file information for the receiver.


1.200.5 VFS.ArchiveMemberHandler: testing

exists
Answer whether a file with the name contained in the receiver does exist.

isAccessible
Answer whether a directory with the name contained in the receiver does exist and is accessible

isDirectory
Answer whether a file with the name contained in the receiver does exist and identifies a directory.

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

mode
Answer the octal permissions for the file.

mode: mode
Set the octal permissions for the file to be `mode'.



Back: VFS.ArchiveMemberHandler-initializing Up: VFS.ArchiveMemberHandler Forward: VFS.CStatStruct   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