return did;
}
- public java.io.File getSaveDirectory() {
- // ---------------------------------------
- String mypath = Database.getRepositoryVaultPath()
- + myfile.getRelativePath();
- String[] table = mypath.split("/");
-
- // Cutting the filename
- StringBuffer path = new StringBuffer(table[0]);
- for (int i = 1; i < table.length - 1; i++)
- path = path.append("/").append(table[i]);
- return new java.io.File(path.append("/").toString());
- }
-
public File getSourceFile() {
// ----------------------------
return myfile;