Click or drag to resize
Ab4d.SharpEngine logo

FileUtils Methods

The FileUtils type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCommonFileNotFoundResolver CommonFileNotFoundResolver tries to resolve the filePath by first trying to fix directory separator and then when the filePath is not rooted, combining the filePath with the base application's path. The method also checks if the file exist in any of the GlobalFileSearchPaths. When the resolve succeeds (the file is found) then the value of filePath is updated and true is returned. When the method cannot help find the file, false is returned.
Public methodStatic memberFixDirectorySeparator FixDirectorySeparator method returns file path with correctly sets backslash or slash as directory separator based on the current OS.
Top
See Also