C# Class CmisSync.CmisTree.LocalFolderLoader

Loads a local folder hierarchie as Nodes
显示文件 Open project: OpenDataSpace/CmisSync

Public Methods

Method Description
AddLocalFolderToRootNode ( RootFolder repo, string localPath ) : void

Merges the sub folder of the given path to the given Repo Node

CreateNodesFromLocalFolder ( string path, Node parent ) : List

Loads all sub folder from the given path

Method Details

AddLocalFolderToRootNode() public static method

Merges the sub folder of the given path to the given Repo Node
public static AddLocalFolderToRootNode ( RootFolder repo, string localPath ) : void
repo RootFolder
localPath string
return void

CreateNodesFromLocalFolder() public static method

Loads all sub folder from the given path
public static CreateNodesFromLocalFolder ( string path, Node parent ) : List
path string
parent Node Parent Node for the new list of Nodes
return List