An NDoc Documented Class Library

PathUtil Methods

The methods of the PathUtil class are listed below. For a complete list of PathUtil class members, see the PathUtil Members topic.

Public Static Methods

CombineOverloaded. Combines two paths.
Explode Splits the path into parts.
FixOverloaded. Cleans up a path such that, for example, "/A/B/../C" becomes "/A/C".
GetAbsolutePath Return the fixed absolute path for the given directory based on the given base directory.
GetExtension Gets the extension of the filename.
GetFileName Gets the file-name without its path.
GetFileNameWithoutExtension Returns the filename of the specified path without the extension.
GetFolderPath Gets the folder-path without the file-name
ImplodeOverloaded. Combines parts into a single path.
IsAbsolute Indicates whether or not a path is absolute (i.e. starts with '/').
IsRelative Indicates whether or not a path is relative (i.e. does not start with '/').

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PathUtil Class | EnterpriseDT.Util Namespace