C# Class Dev2.PathOperations.Dev2ActivityIOPathUtils

PBI : 1172 Status : New Purpose : To provide common utilty function to the IOPath classes
显示文件 Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
ConvertDirectoryListToXML ( IList pathList ) : string

convert a list of directory paths into XML

ExtractFileName ( string path ) : string

Extract the file name from the URI

ExtractFullDirectoryPath ( string path ) : string

Extract the full directory portion of a URI

ExtractPathType ( string path ) : enActivityIOPathType
IsDirectory ( string path ) : bool

Is the path a directory or file?

IsStarWildCard ( string path ) : bool

Is the request a wild-char request

Method Details

ConvertDirectoryListToXML() public static method

convert a list of directory paths into XML
public static ConvertDirectoryListToXML ( IList pathList ) : string
pathList IList
return string

ExtractFileName() public static method

Extract the file name from the URI
public static ExtractFileName ( string path ) : string
path string
return string

ExtractFullDirectoryPath() public static method

Extract the full directory portion of a URI
public static ExtractFullDirectoryPath ( string path ) : string
path string
return string

ExtractPathType() public static method

public static ExtractPathType ( string path ) : enActivityIOPathType
path string
return enActivityIOPathType

IsDirectory() public static method

Is the path a directory or file?
public static IsDirectory ( string path ) : bool
path string
return bool

IsStarWildCard() public static method

Is the request a wild-char request
public static IsStarWildCard ( string path ) : bool
path string
return bool