Back: VersionableObjectProxy-saving and restoring Up: Base classes Forward: VFS.ArchiveFile-ArchiveMember protocol   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.206 VFS.ArchiveFile

Defined in namespace Smalltalk.VFS
Superclass: VFS.FileWrapper
Category: Streams-Files
ArchiveFile handles virtual filesystems that have a directory structure of their own. The directories and files in the archive are instances of ArchiveMember, but the functionality resides entirely in ArchiveFile because the members will still ask the archive to get directory information on them, to extract them to a real file, and so on.

1.206.1 VFS.ArchiveFile: ArchiveMember protocol  (instance)
1.206.2 VFS.ArchiveFile: directory operations  (instance)
1.206.3 VFS.ArchiveFile: querying  (instance)
1.206.4 VFS.ArchiveFile: still unclassified  (instance)
1.206.5 VFS.ArchiveFile: TmpFileArchiveMember protocol  (instance)


1.206.1 VFS.ArchiveFile: ArchiveMember protocol

fillMember: anArchiveMember
Extract the information on anArchiveMember. Answer false if it actually does not exist in the archive; otherwise, answer true after having told anArchiveMember about them by sending #size:stCtime:stMtime:stAtime:isDirectory: to it.

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

member: anArchiveMember mode: bits
Set the permission bits for the file in anArchiveMember.

refresh
Extract the directory listing from the archive

removeMember: anArchiveMember
Remove the member represented by anArchiveMember.

updateMember: anArchiveMember
Update the member represented by anArchiveMember by copying the file into which it was extracted back to the archive.


1.206.2 VFS.ArchiveFile: directory operations

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

nameAt: aString
Answer a FilePath for a file named `aName' residing in the directory represented by the receiver.

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

release
Release the resources used by the receiver that don't survive when reloading a snapshot.


1.206.3 VFS.ArchiveFile: querying

isAccessible
Answer whether a directory with the name contained in the receiver does exist and can be accessed

isDirectory
Answer true. The archive can always be considered as a directory.


1.206.4 VFS.ArchiveFile: still unclassified

displayOn: aStream
Print a representation of the file identified by the receiver.


1.206.5 VFS.ArchiveFile: TmpFileArchiveMember protocol

extractMember: anArchiveMember
Extract the contents of anArchiveMember into a file that resides on disk, and answer the name of the file.

extractMember: anArchiveMember into: file
Extract the contents of anArchiveMember into a file that resides on disk, and answer the name of the file.



Back: VFS.ArchiveFile-still unclassified Up: VFS.ArchiveFile Forward: VFS.ArchiveMember   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on August, 19 2010 using texi2html