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.3 date: 2021/01/20 15:10:03
user: cg
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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:25:24 GMT