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

1.203 VFS.ArchiveMember

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

1.203.1 VFS.ArchiveMember: accessing  (instance)
1.203.2 VFS.ArchiveMember: basic  (instance)
1.203.3 VFS.ArchiveMember: delegation  (instance)
1.203.4 VFS.ArchiveMember: directory operations  (instance)
1.203.5 VFS.ArchiveMember: file operations  (instance)
1.203.6 VFS.ArchiveMember: initializing  (instance)
1.203.7 VFS.ArchiveMember: still unclassified  (instance)
1.203.8 VFS.ArchiveMember: testing  (instance)


1.203.1 VFS.ArchiveMember: accessing

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

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

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

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.

refresh
Refresh the statistics for the receiver

size
Answer the size of the file identified by the receiver


1.203.2 VFS.ArchiveMember: basic

= aFile
Answer whether the receiver represents the same file as the receiver.

hash
Answer a hash value for the receiver.


1.203.3 VFS.ArchiveMember: delegation

full
Answer the size of the file identified by the receiver


1.203.4 VFS.ArchiveMember: directory operations

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

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

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


1.203.5 VFS.ArchiveMember: 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.203.6 VFS.ArchiveMember: initializing

archive: anArchiveFile
Set the archive of which the receiver is a member.

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

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.203.7 VFS.ArchiveMember: still unclassified

, aName
Answer an object of the same kind as the receiver, whose name is suffixed with aName.

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

isAbsolute
Answer whether the receiver identifies an absolute path.


1.203.8 VFS.ArchiveMember: 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

isSymbolicLink
Answer whether a file with the name contained in the receiver does exist and identifies a symbolic link.

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.ArchiveMember-still unclassified Up: VFS.ArchiveMember Forward: VFS.FileWrapper   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on April, 16 2013 using texi2html