Method | Description | |
---|---|---|
FileTree ( ) : System | ||
addLocation ( string path, string id, string ip, string port ) : string | ||
cp ( string sourcePath, string destinationPath, |
||
cpdir ( string sourcePath, string destinationPath ) : string | ||
create ( string path, string name, string locationIP, string locationPort, string id ) : string | ||
fileServers ( string path ) : |
||
findDirectory ( string path, string name ) : |
||
findDirectory ( |
||
findFile ( string path, string name ) : |
||
findFile ( |
||
locateDirectory ( string path ) : |
||
locateFile ( string path ) : |
||
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 |
Method | Description | |
---|---|---|
delete ( ) : void |
public addLocation ( string path, string id, string ip, string port ) : string | ||
path | string | |
id | string | |
ip | string | |
port | string | |
return | string |
public cp ( string sourcePath, string destinationPath, |
||
sourcePath | string | |
destinationPath | string | |
address | ||
return | string |
public cpdir ( string sourcePath, string destinationPath ) : string | ||
sourcePath | string | |
destinationPath | string | |
return | string |
public create ( string path, string name, string locationIP, string locationPort, string id ) : string | ||
path | string | |
name | string | |
locationIP | string | |
locationPort | string | |
id | string | |
return | string |
public fileServers ( string path ) : |
||
path | string | |
return |
public findDirectory ( string path, string name ) : |
||
path | string | |
name | string | |
return |
public findDirectory ( |
||
directory | ||
workingDirectory | string | |
name | string | |
result | ||
return | void |
public findFile ( string path, string name ) : |
||
path | string | |
name | string | |
return |
public findFile ( |
||
directory | ||
workingDirectory | string | |
name | string | |
result | ||
return | void |
public locateDirectory ( string path ) : |
||
path | string | |
return |
public mkdir ( string path, string name ) : string | ||
path | string | |
name | string | |
return | string |
public mv ( string sourcePath, string destinationPath ) : string | ||
sourcePath | string | |
destinationPath | string | |
return | string |
public removeLocation ( string path, string id ) : string | ||
path | string | |
id | string | |
return | string |
public rename ( string path, string newName ) : string | ||
path | string | |
newName | string | |
return | string |
public renamedir ( string path, string newName ) : string | ||
path | string | |
newName | string | |
return | string |