Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Conversion corrections

...

Code Block
 public void testRenameMultipleFilesLocal() throws Exception {
    JadeEngine objJadeEngine = new JadeEngine();
    JADEOptions objOptions = objJadeEngine.Options()

    objOptions.getConnectionOptions().Source().protocol.Value("local");
    objOptions.file_spec.Value("^.*\\.txt$");
    objOptions.local_dir.Value(strTestPathName + "/JADE/");
    objOptions.operation.Value("rename");
   
    objOptions.replacing.Value("(.*)(.txt)");
    objOptions.replacement.Value("\\1_[date:yyyyMMddHHmm];\\2");

    objJadeEngine.Execute();
    objJadeEngine.Logout();
 \}

More Information on how to use the API you can find here: jadeAPIReference

...