Salome HOME
Refactoring of Database, replacing SQL by DAOs calls. Methods for search by criteria...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / som / Document.java
index ec7fcb3c890709472d3ce06d753ca088794a8d5c..d998f3ec6e509e8f4dd4b017390fffa7d33c24ac 100644 (file)
@@ -391,19 +391,6 @@ public class Document extends Entity {
                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;