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

Method category index

accessing (instance)
basic (instance)
delegation (instance)
directory operations (instance)
file operations (instance)
initializing (instance)
still unclassified (instance)
testing (instance)

accessing (instance)

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

top


basic (instance)

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

hash

Answer a hash value for the receiver.

top


delegation (instance)

full
Answer the size of the file identified by the receiver

top


directory operations (instance)

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.

top


file operations (instance)

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.

top


initializing (instance)

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.

top


still unclassified (instance)

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

top


testing (instance)

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

top