Public Member Functions | |
| StringUtil () | |
| StringUtil () | |
Static Public Member Functions | |
| static string | GetExtension (string fileName) |
| This method will return a string containing the extension of the fileName given in argument. | |
| static string | GetName (string fileName) |
| This static method return the name of an entity from a pathname to the file. Thus it returns only the file name with it's extension. Generally that the name which is used to reference afterward the entity through it's name. | |
| static string | GetRelativePath (string basePath, string fileName) |
| This static method removes the string passed as first argument from the string passed as second argument. | |
| static string | GetRelativePathWithoutStartingSlash (string basePath, string fileName) |
| This static method removes the string passed as first argument from the string passed as second argument. | |
| static string | GetPath (string fileName) |
| This static method removes the string passed as first argument from the string passed as second argument. | |
| static string | GetPathWithoutTrailingSlash (string fileName) |
| Same as GetPath except the return path does not contain any \ at the end. | |
| static string | AppendDirectorySeparator (string path) |
| This method will append a \ at the end of the provided string. | |
| static string | GetNewIndexedName (string name, Hashtable hash) |
| This will return a name that we guaranty is not in the given hashtable. | |
| static string | GetExtension (string fileName) |
| This method will return a string containing the extension of the fileName given in argument. | |
| static string | GetName (string fileName) |
| This static method return the name of an entity from a pathname to the file. Thus it returns only the file name with it's extension. Generally that the name which is used to reference afterward the entity through it's name. | |
| static string | GetRelativePath (string basePath, string fileName) |
| This static method removes the string passed as first argument from the string passed as second argument. | |
| static string | GetRelativePathWithoutStartingSlash (string basePath, string fileName) |
| This static method removes the string passed as first argument from the string passed as second argument. | |
| static string | GetPath (string fileName) |
| This static method removes the string passed as first argument from the string passed as second argument. | |
| static string | GetPathWithoutTrailingSlash (string fileName) |
| Same as GetPath except the return path does not contain any \ at the end. | |
| static string | AppendDirectorySeparator (string path) |
| This method will append a \ at the end of the provided string. | |
| static string | GetNewIndexedName (string name, Hashtable hash) |
| This will return a name that we guaranty is not in the given hashtable. | |
Definition at line 30 of file StringUtil.cs.
| DXGfxLib.StringUtil.StringUtil | ( | ) |
Definition at line 35 of file StringUtil.cs.
| DXGfxLib.StringUtil.StringUtil | ( | ) |
Definition at line 35 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.AppendDirectorySeparator | ( | string | path | ) | [static] |
This method will append a \ at the end of the provided string.
| path |
Definition at line 194 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.AppendDirectorySeparator | ( | string | path | ) | [static] |
This method will append a \ at the end of the provided string.
| path |
Definition at line 194 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetExtension | ( | string | fileName | ) | [static] |
This method will return a string containing the extension of the fileName given in argument.
| fileName | the relative or full pathname from which we want to extract the extension. |
Definition at line 45 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetExtension | ( | string | fileName | ) | [static] |
This method will return a string containing the extension of the fileName given in argument.
| fileName | the relative or full pathname from which we want to extract the extension. |
Definition at line 45 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetName | ( | string | fileName | ) | [static] |
This static method return the name of an entity from a pathname to the file. Thus it returns only the file name with it's extension. Generally that the name which is used to reference afterward the entity through it's name.
| fileName | the pathName to extract the file name or the name from. |
Definition at line 73 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetName | ( | string | fileName | ) | [static] |
This static method return the name of an entity from a pathname to the file. Thus it returns only the file name with it's extension. Generally that the name which is used to reference afterward the entity through it's name.
| fileName | the pathName to extract the file name or the name from. |
Definition at line 73 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetNewIndexedName | ( | string | name, | |
| Hashtable | hash | |||
| ) | [static] |
This will return a name that we guaranty is not in the given hashtable.
| name | ||
| hash |
Definition at line 205 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetNewIndexedName | ( | string | name, | |
| Hashtable | hash | |||
| ) | [static] |
This will return a name that we guaranty is not in the given hashtable.
| name | ||
| hash |
Definition at line 205 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetPath | ( | string | fileName | ) | [static] |
This static method removes the string passed as first argument from the string passed as second argument.
| basePath | the string to remove from the other string. | |
| fileName | the string to work on. |
Definition at line 148 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetPath | ( | string | fileName | ) | [static] |
This static method removes the string passed as first argument from the string passed as second argument.
| basePath | the string to remove from the other string. | |
| fileName | the string to work on. |
Definition at line 148 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetPathWithoutTrailingSlash | ( | string | fileName | ) | [static] |
Same as GetPath except the return path does not contain any \ at the end.
| fileName |
Definition at line 171 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetPathWithoutTrailingSlash | ( | string | fileName | ) | [static] |
Same as GetPath except the return path does not contain any \ at the end.
| fileName |
Definition at line 171 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetRelativePath | ( | string | basePath, | |
| string | fileName | |||
| ) | [static] |
This static method removes the string passed as first argument from the string passed as second argument.
| basePath | the string to remove from the other string. | |
| fileName | the string to work on. |
Definition at line 98 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetRelativePath | ( | string | basePath, | |
| string | fileName | |||
| ) | [static] |
This static method removes the string passed as first argument from the string passed as second argument.
| basePath | the string to remove from the other string. | |
| fileName | the string to work on. |
Definition at line 98 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetRelativePathWithoutStartingSlash | ( | string | basePath, | |
| string | fileName | |||
| ) | [static] |
This static method removes the string passed as first argument from the string passed as second argument.
| basePath | the string to remove from the other string. | |
| fileName | the string to work on. |
Definition at line 123 of file StringUtil.cs.
| static string DXGfxLib.StringUtil.GetRelativePathWithoutStartingSlash | ( | string | basePath, | |
| string | fileName | |||
| ) | [static] |
This static method removes the string passed as first argument from the string passed as second argument.
| basePath | the string to remove from the other string. | |
| fileName | the string to work on. |
Definition at line 123 of file StringUtil.cs.
1.5.8