C# Class CmisSync.WindowsPathRepresentationConverter

Conversion of path between CMIS and Microsft Windows. Many paths that are valid on CMIS are invalid (or would have a different meaning) on Windows. The trick here is to replace Windows-forbidden characters with their equivalent two-bytes representation. The same two-bytes representations must not be used with a different meaning on the Windows side.
Inheritance: IPathRepresentationConverter
Mostrar archivo Open project: aegif/CmisSync

Public Methods

Method Description
LocalToRemote ( string localPath ) : string

Convert a path from Windows to CMIS.

RemoteToLocal ( string remotePath ) : string

Convert a path from CMIS to Windows.

Method Details

LocalToRemote() public method

Convert a path from Windows to CMIS.
public LocalToRemote ( string localPath ) : string
localPath string
return string

RemoteToLocal() public method

Convert a path from CMIS to Windows.
public RemoteToLocal ( string remotePath ) : string
remotePath string
return string