Méthode | Description | |
---|---|---|
AssemblyEquals ( string strExt, string strShort ) : bool | ||
ConvertSeparators ( string strPath ) : string | ||
ConvertSeparators ( string strPath, char chSeparator ) : string | ||
EnsureTerminatingSeparator ( string strPath, bool bUrl ) : string |
Ensure that a path is terminated with a directory separator character.
|
|
FileUrlToPath ( string strUrl ) : string | ||
FilterFileName ( string strName ) : string | ||
GetExtension ( string strPath ) : string |
Get the extension of a file.
|
|
GetFileDirectory ( string strFile, bool bAppendTerminatingChar, bool bEnsureValidDirSpec ) : string |
Get the directory (path) of a file name. The returned string may be terminated by a directory separator character. Example: passing
|
|
GetFileInfos ( |
||
GetFileName ( string strPath ) : string |
Gets the file name of the specified file (full path). Example: if strPath is
|
|
GetFilePaths ( string strDir, string strPattern, SearchOption opt ) : List |
||
GetHost ( string strUrl ) : string |
Get the host component of an URL. This method is faster and more fault-tolerant than creating an
|
|
GetQuotedAppPath ( string strPath ) : string |
Test if a specified path is accessible, either in read or write mode.
|
|
GetShortestAbsolutePath ( string strPath ) : string | ||
GetTempPath ( ) : string | ||
GetUrlLength ( string strText, int nOffset ) : int | ||
HideFile ( string strFile, bool bHide ) : bool | ||
IsAbsolutePath ( string strPath ) : bool | ||
IsUncPath ( string strPath ) : bool | ||
MakeAbsolutePath ( string strBaseFile, string strTargetFile ) : string | ||
MakeRelativePath ( string strBaseFile, string strTargetFile ) : string | ||
RemoveScheme ( string strUrl ) : string | ||
StripExtension ( string strPath ) : string |
Strip the extension of a file.
|
|
UnhideFile ( string strFile ) : bool |
public static AssemblyEquals ( string strExt, string strShort ) : bool | ||
strExt | string | |
strShort | string | |
Résultat | bool |
public static ConvertSeparators ( string strPath ) : string | ||
strPath | string | |
Résultat | string |
public static ConvertSeparators ( string strPath, char chSeparator ) : string | ||
strPath | string | |
chSeparator | char | |
Résultat | string |
public static EnsureTerminatingSeparator ( string strPath, bool bUrl ) : string | ||
strPath | string | Input path. |
bUrl | bool | If |
Résultat | string |
public static FileUrlToPath ( string strUrl ) : string | ||
strUrl | string | |
Résultat | string |
public static FilterFileName ( string strName ) : string | ||
strName | string | |
Résultat | string |
public static GetExtension ( string strPath ) : string | ||
strPath | string | Full path of a file with extension. |
Résultat | string |
public static GetFileDirectory ( string strFile, bool bAppendTerminatingChar, bool bEnsureValidDirSpec ) : string | ||
strFile | string | Full path of a file. |
bAppendTerminatingChar | bool | Append a terminating directory separator /// character to the returned path. |
bEnsureValidDirSpec | bool | If |
Résultat | string |
public static GetFileInfos ( |
||
di | ||
strPattern | string | |
opt | SearchOption | |
Résultat | List |
public static GetFileName ( string strPath ) : string | ||
strPath | string | Full path of a file. |
Résultat | string |
public static GetFilePaths ( string strDir, string strPattern, SearchOption opt ) : List |
||
strDir | string | |
strPattern | string | |
opt | SearchOption | |
Résultat | List |
public static GetHost ( string strUrl ) : string | ||
strUrl | string | |
Résultat | string |
public static GetQuotedAppPath ( string strPath ) : string | ||
strPath | string | |
Résultat | string |
public static GetShortestAbsolutePath ( string strPath ) : string | ||
strPath | string | |
Résultat | string |
public static GetUrlLength ( string strText, int nOffset ) : int | ||
strText | string | |
nOffset | int | |
Résultat | int |
public static HideFile ( string strFile, bool bHide ) : bool | ||
strFile | string | |
bHide | bool | |
Résultat | bool |
public static IsAbsolutePath ( string strPath ) : bool | ||
strPath | string | |
Résultat | bool |
public static IsUncPath ( string strPath ) : bool | ||
strPath | string | |
Résultat | bool |
public static MakeAbsolutePath ( string strBaseFile, string strTargetFile ) : string | ||
strBaseFile | string | |
strTargetFile | string | |
Résultat | string |
public static MakeRelativePath ( string strBaseFile, string strTargetFile ) : string | ||
strBaseFile | string | |
strTargetFile | string | |
Résultat | string |
public static RemoveScheme ( string strUrl ) : string | ||
strUrl | string | |
Résultat | string |
public static StripExtension ( string strPath ) : string | ||
strPath | string | Full path of a file with extension. |
Résultat | string |
public static UnhideFile ( string strFile ) : bool | ||
strFile | string | |
Résultat | bool |