eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Dolphin::File':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: File (in Dolphin)


Inheritance:

   Object
   |
   +--Dolphin::File

Package:
stx:libcompat
Category:
Compatibility-Dolphin
Version:
rev: 1.2 date: 2011/10/01 11:02:58
user: vrany
file: Dolphin__File.st directory: libcompat
module: stx stc-classLibrary: libcompat

Class protocol:

misc queries
o  composePath: path stem: packageName extension: extension

o  exists: pathname

o  extensionDelimiter

o  fullPathOf: pathname relativeTo: aBaseName
dummy for now ...

o  relativePathOf: pathname to: aBaseName
dummy for now ...

o  splitExtensionFrom: aString
Splits aPathname string and answers the extension portion.
Answers the empty string if there is no extension.

o  splitFilenameFrom: aPathnameString
not certain.

o  splitPath: aString
Splits aPathname string into its path, stem and extension components and answers
a four element Array of these.
Note: We use the C-runtime library to implement this, hence either backward or forward
slashes (i.e. $\ or $/) are acceptable as pathname delimiters.
usage example(s):
     File splitPath: '\\exept\cg\home\smalltalk\st_free\pocketSmalltalk\ide1.5\pst.pac'

o  splitPathFrom: aPathnameString
Splits aPathname string and answers the path portion (including the drive letter, if any).
Answers the empty String if there is no path.

o  splitStemFrom: filename



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 05:14:06 GMT