KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > files > JahiaFileTransferService


1 //
2
// JahiaFileTransferService
3
//
4
// init( jSettings )
5
// downloadApp( fileName, urlPath, diskPath )
6
// downloadTemplate( fileName, urlPath, diskPath )
7
//
8

9 package org.jahia.services.files;
10
11 import org.jahia.services.JahiaService;
12
13
14 /**
15  * <p>Title: Service for file transfers</p>
16  * <p>Description: This service provides tools to download applications and
17  * templates to the local disk. This class is mostly used by download engines
18  * that are currently not activated in Jahia.</p>
19  * <p>Copyright: Copyright (c) 2002</p>
20  * <p>Company: </p>
21  * @author NK Khue NGuyen
22  * @version 1.0
23  */

24 public abstract class JahiaFileTransferService extends JahiaService {
25
26    /**
27     * Method downLoadApp
28     * NK 21.12.2000
29      * called by DownloadApp_Engine.processForm
30     */

31     public abstract boolean downloadApp( String JavaDoc fileName, String JavaDoc urlPath, String JavaDoc diskPath );
32
33
34    /**
35     * downloadTemplate
36      * NK 21.12.2000
37      * called by DownloadTemplate_Engine.processForm
38     */

39     public abstract boolean downloadTemplate( String JavaDoc fileName, String JavaDoc urlPath, String JavaDoc diskPath );
40
41
42 } // end Interface JahiaFileTransferServices
43
Popular Tags