| java.lang.Object org.libresource.so6.core.exec.Rename
Rename | public class Rename (Code) | | The Rename class is used to rename a previously syncronized
file.
Exemples :
java -cp so6.jar Rename .so6/1/so6.properties src/Workspace.java
src/org/libresource/so6/Workspace.java
author: Smack version: 1.0, 26/05/04 See Also: org.libresource.so6.core.exec.Main since: JDK1.4 |
Method Summary | |
public static void | main(String[] args) |
Rename | public Rename(String wscPath, String from, String to) throws Exception(Code) | | Make the rename:
- wscPath : Workspace connection property file path
(.so6/1/so6.properties)
- srcRelativePath : path of the file to move
- destRelativePath : destination path of the file to move
Parameters: wscPath - :Workspace connection property file path(.so6/1/so6.properties) Parameters: from - :path of the file to move Parameters: to - :destination path of the file to move throws: Exception - |
main | public static void main(String[] args) throws Exception(Code) | | Make the rename and exit !
Parameters: args - - wscPath : Workspace connection property file path(.so6/1/so6.properties)
- srcRelativePath : path of the file to move
- destRelativePath : destination path of the file to move
throws: Exception - |
|
|