AbstractOperatingSystem.st
changeset 5031 50e076c928d7
parent 5026 6406b4765e48
child 5036 a967da9d41ac
equal deleted inserted replaced
5030:655a0f0a60c3 5031:50e076c928d7
  2157      The contents of the dictionary gives info about the link itself,
  2157      The contents of the dictionary gives info about the link itself,
  2158      on contrast to #infoOf:, which returns the info of the pointed to file
  2158      on contrast to #infoOf:, which returns the info of the pointed to file
  2159      in case of a symbolic link."
  2159      in case of a symbolic link."
  2160      
  2160      
  2161     self subclassResponsibility
  2161     self subclassResponsibility
       
  2162 !
       
  2163 
       
  2164 mimeTypeForFilename:aFilename
       
  2165     "given a filename, return a corresponding mimeType.
       
  2166      This is placed here, to allow for OS-specific configuration
       
  2167      files and/or the win32 registry to be consultet.
       
  2168      Returns nil if no mimeType for the given name is known."
       
  2169 
       
  2170     ^ nil
  2162 !
  2171 !
  2163 
  2172 
  2164 mimeTypeForSuffix:aFileSuffix
  2173 mimeTypeForSuffix:aFileSuffix
  2165     "given a file suffix, return a corresponding mimeType.
  2174     "given a file suffix, return a corresponding mimeType.
  2166      This is placed here, to allow for OS-specific configuration
  2175      This is placed here, to allow for OS-specific configuration
  4052 ! !
  4061 ! !
  4053 
  4062 
  4054 !AbstractOperatingSystem class methodsFor:'documentation'!
  4063 !AbstractOperatingSystem class methodsFor:'documentation'!
  4055 
  4064 
  4056 version
  4065 version
  4057     ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.29 1999-11-29 13:46:02 cg Exp $'
  4066     ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.30 1999-12-01 10:30:02 cg Exp $'
  4058 ! !
  4067 ! !
  4059 AbstractOperatingSystem initialize!
  4068 AbstractOperatingSystem initialize!