Ignore:
Timestamp:
2008-10-24T17:45:51+13:00 (16 years ago)
Author:
ak19
Message:

Turned class RemoteGreenstoneServer.java from an all-static class into a regular OOP class. It is now also split into three files (the other two being ActionQueue.java and RemoteGreenstoneServerAction.java).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/ReplaceSrcDocWithHtmlPrompt.java

    r15163 r17612  
    272272        String collection_name = CollectionManager.getLoadedCollectionName();
    273273        String collection_directory_path = CollectionManager.getCollectionDirectoryPath(collection_name);
    274         String srcdoc_file_relative_path = RemoteGreenstoneServer.getPathRelativeToDirectory(
     274        String srcdoc_file_relative_path = Gatherer.remoteGreenstoneServer.getPathRelativeToDirectory(
    275275        this.srcdoc_files[fileNum], collection_directory_path); // preserves spaces in filename
    276276        command_parts_list.add("-file");
     
    382382            // download the generated html file from the server side to put it
    383383            // into the import directory on the client side
    384             RemoteGreenstoneServer.downloadCollectionFile(
     384            Gatherer.remoteGreenstoneServer.downloadCollectionFile(
    385385                          CollectionManager.getLoadedCollectionName(),
    386386                          new File(srcdoc_files[i].getParentFile(), htmlFile));
     
    389389            File assoc_folder = new File(srcdoc_files[i].getParentFile(), suffixlessFilename+"_files");
    390390            // If an associated_folder by such a name exists, download it
    391             if(RemoteGreenstoneServer.exists(CollectionManager.getLoadedCollectionName(), assoc_folder)) {
    392               RemoteGreenstoneServer.downloadCollectionFile(
     391            if(Gatherer.remoteGreenstoneServer.exists(CollectionManager.getLoadedCollectionName(), assoc_folder)) {
     392              Gatherer.remoteGreenstoneServer.downloadCollectionFile(
    393393                                    CollectionManager.getLoadedCollectionName(), assoc_folder);
    394394            }
Note: See TracChangeset for help on using the changeset viewer.