C# 클래스 FileTreeLibrary.FileTree

파일 보기 프로젝트 열기: stachupl/MNFS 1 사용 예제들

공개 메소드들

메소드 설명
FileTree ( ) : System
addLocation ( string path, string id, string ip, string port ) : string
cp ( string sourcePath, string destinationPath, FileNetworkAddress address ) : string
cpdir ( string sourcePath, string destinationPath ) : string
create ( string path, string name, string locationIP, string locationPort, string id ) : string
fileServers ( string path ) : ArrayList
findDirectory ( string path, string name ) : ArrayList
findDirectory ( FileNode directory, string workingDirectory, string name, ArrayList result ) : void
findFile ( string path, string name ) : ArrayList
findFile ( FileNode directory, string workingDirectory, string name, ArrayList result ) : void
locateDirectory ( string path ) : FileNode
locateFile ( string path ) : FileNode
ls ( string path ) : string
mkdir ( string path, string name ) : string
mv ( string sourcePath, string destinationPath ) : string
removeLocation ( string path, string id ) : string
rename ( string path, string newName ) : string
renamedir ( string path, string newName ) : string
rm ( string path ) : string
rmdir ( string path ) : string
writeLocation ( string path ) : void

비공개 메소드들

메소드 설명
delete ( ) : void

메소드 상세

FileTree() 공개 메소드

public FileTree ( ) : System
리턴 System

addLocation() 공개 메소드

public addLocation ( string path, string id, string ip, string port ) : string
path string
id string
ip string
port string
리턴 string

cp() 공개 메소드

public cp ( string sourcePath, string destinationPath, FileNetworkAddress address ) : string
sourcePath string
destinationPath string
address FileNetworkAddress
리턴 string

cpdir() 공개 메소드

public cpdir ( string sourcePath, string destinationPath ) : string
sourcePath string
destinationPath string
리턴 string

create() 공개 메소드

public create ( string path, string name, string locationIP, string locationPort, string id ) : string
path string
name string
locationIP string
locationPort string
id string
리턴 string

fileServers() 공개 메소드

public fileServers ( string path ) : ArrayList
path string
리턴 System.Collections.ArrayList

findDirectory() 공개 메소드

public findDirectory ( string path, string name ) : ArrayList
path string
name string
리턴 System.Collections.ArrayList

findDirectory() 공개 메소드

public findDirectory ( FileNode directory, string workingDirectory, string name, ArrayList result ) : void
directory FileNode
workingDirectory string
name string
result System.Collections.ArrayList
리턴 void

findFile() 공개 메소드

public findFile ( string path, string name ) : ArrayList
path string
name string
리턴 System.Collections.ArrayList

findFile() 공개 메소드

public findFile ( FileNode directory, string workingDirectory, string name, ArrayList result ) : void
directory FileNode
workingDirectory string
name string
result System.Collections.ArrayList
리턴 void

locateDirectory() 공개 메소드

public locateDirectory ( string path ) : FileNode
path string
리턴 FileNode

locateFile() 공개 메소드

public locateFile ( string path ) : FileNode
path string
리턴 FileNode

ls() 공개 메소드

public ls ( string path ) : string
path string
리턴 string

mkdir() 공개 메소드

public mkdir ( string path, string name ) : string
path string
name string
리턴 string

mv() 공개 메소드

public mv ( string sourcePath, string destinationPath ) : string
sourcePath string
destinationPath string
리턴 string

removeLocation() 공개 메소드

public removeLocation ( string path, string id ) : string
path string
id string
리턴 string

rename() 공개 메소드

public rename ( string path, string newName ) : string
path string
newName string
리턴 string

renamedir() 공개 메소드

public renamedir ( string path, string newName ) : string
path string
newName string
리턴 string

rm() 공개 메소드

public rm ( string path ) : string
path string
리턴 string

rmdir() 공개 메소드

public rmdir ( string path ) : string
path string
리턴 string

writeLocation() 공개 메소드

public writeLocation ( string path ) : void
path string
리턴 void