|
Class: File (in Dolphin)
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
misc queries
-
composePath: path stem: packageName extension: extension
-
-
exists: pathname
-
-
extensionDelimiter
-
-
fullPathOf: pathname relativeTo: aBaseName
-
dummy for now ...
-
relativePathOf: pathname to: aBaseName
-
dummy for now ...
-
splitExtensionFrom: aString
-
Splits aPathname string and answers the extension portion.
Answers the empty string if there is no extension.
-
splitFilenameFrom: aPathnameString
-
not certain.
-
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'
|
-
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.
-
splitStemFrom: filename
-
|