eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FileDirectory':

Home

everywhere
www.exept.de
for:
[back]

Class: FileDirectory


Inheritance:

   Object
   |
   +--Collection
      |
      +--FileDirectory

Package:
stx:libbasic
Category:
Obsolete
Version:
rev: ? date: ? ?
user: ?
file: ? directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

Description:


Notice:
    This class is obsolete and does work only under UNIX. 
    Use Filename instead.

    This class is not available in other ST-systems;
    in contrast, ST-80 provides a Filename class.
    Therefore, Filename has taken over the functionality.

FileDirectories represent directories in the underlying host system.
They provide various methods to create/delete and query for files and/or
directories. Also, since FileDirectory inherits from Collection, it
provides all enumeration and testing protocol. For example, you can
loop over the filenames in a directory using 'aFileDirectory do:[:nm | ...]'.


Related information:

    Filename
    FileStream
    DirectoryStream
    OperatingSystem

Class protocol:

Compatibility-Squeak
o  default

o  localNameFor: aFileNameString

o  pathNameDelimiter

initialization
o  initialize

o  update: something with: aParameter from: changedObject

instance creation
o  currentDirectory
create and return a new FileDirectory for the current directory

o  directoryNamed: name
create and return a new FileDirectory for the directory
with given pathname

o  directoryNamed: name in: aFileDirectory
create and return a new FileDirectory for the directory with given name
in another FileDirectory

o  rootDirectory
create and return a new FileDirectory for the root directory

private
o  fullPathNameOf: name in: path


Private classes:

    DirectoryEntry


ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 09:09:14 GMT