The following tables list the members exposed by FileUtils.
Name | Description | |
---|---|---|
ExpandEnvironment | Expands environment variables into text, i.e. SystemRoot, or ProgramFiles | |
FindFullPath | Returns the fully qualified path to the file if it is fully-qualified, exists in the current directory, or in the environment path, otherwise generates a FileNotFoundException exception. | |
GetPermissions | Returns the rights assigned to the given SID for this file's ACL | |
GrantFullControlForFile | Overloaded. Grants the user FullControl for the file, returns true if modified, false if already present | |
IsValidExtension | Returns true if the extension provided contains only one '.' at the beginning of the string and does not contain any path or invalid filename characters. | |
IsValidFileName | Returns true if the name provided contains only valid filename characters | |
MakeRelativePath | For this to work for a directory the argument should end with a '\' character | |
MakeValidFileName | Overloaded. Creates a valid filename by removing all invalid characters. | |
ReplacePermissions | Removes any existing access for the user SID supplied and adds the specified rights | |
TrySearchPath | Returns true if the file is fully-qualified, exists in the current directory, or in the environment path, otherwise generates a FileNotFoundException exception. Will not propagate errors. |