Back: VFS.CStatStruct-debugging Up: Base classes Forward: VFS.DecodedFileHandler class-registering   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.202 VFS.DecodedFileHandler

Defined in namespace Smalltalk.VFS
Superclass: VFS.FileHandlerWrapper
Category: Streams-Files

1.202.1 VFS.DecodedFileHandler class: registering  (class)
1.202.2 VFS.DecodedFileHandler: files  (instance)


1.202.1 VFS.DecodedFileHandler class: registering

defaultFileTypes
Return the default virtual filesystems and the associated filter commands.

fileSystems
Answer the virtual file systems that can be processed by this subclass. These are #gz (gzip a file), #ugz (uncompress a gzipped file), #Z (compress a file via Unix compress), #uZ (uncompress a compressed file), #bz2 (compress a file via bzip2), #ubz2 (uncompress a file via bzip2), #tar (make a tar archive out of a directory), #tgz (make a gzipped tar archive out of a directory), #nop (do nothing, used for testing) and #strings (use the `strings' utility to extract printable strings from a file).

fileTypes
Return the valid virtual filesystems and the associated filter commands.

priority
Answer the priority for this class (higher number = higher priority) in case multiple classes implement the same file system.


1.202.2 VFS.DecodedFileHandler: files

at: aName
Signal an error, as this can't represent a file container.

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

parent: containerFileHandler fsName: aString
Private - Initialize a new object storing the contents of the virtualFileName file into temporaryFileName.

realFileName
Answer the real file name which holds the file contents, or nil if it does not apply.

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



Back: VFS.DecodedFileHandler class-registering Up: VFS.DecodedFileHandler Forward: VFS.FileHandlerWrapper   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