Squeak Class Documentation category index | class index  
 
DosFileDirectory
  category: System-Files
  superclass: FileDirectory
  subclasses:

I represent a DOS or Windows FileDirectory.

instance methods
  as yet unclassified
  checkName:fixErrors:
setPathName:

  path access
  driveName
fullPathFor:

class methods
  platform specific
  isCaseSensitive
isDrive:
maxFileNameLength
pathNameDelimiter
splitName:to:

instance methods
  as yet unclassified top  
 

checkName:fixErrors:

Check if the file name contains any invalid characters


 

setPathName:

Ensure pathString is absolute - relative directories aren't supported on all platforms.


  path access top  
 

driveName

return a possible drive letter and colon at the start of a Path name, empty string otherwise


 

fullPathFor:

Return the fully-qualified path name for the given file.


class methods
  platform specific top  
 

isCaseSensitive

Return true if file names are treated case sensitive


 

isDrive:


 

maxFileNameLength


 

pathNameDelimiter

return the active directory class's directory seperator character


 

splitName:to:

Take the file name and convert it to the path name of a directory and a local file name within that directory. FileName must be of the form: <dirPath><delimiter><localName>, where <dirPath><delimiter> is optional. The <dirPath> part may contain delimiters.