Java Reference
In-Depth Information
DownloadServiceImpl
This service (see the class implementation in Listing D.5) has been included only for enabling
stub-like support; any use beyond that it is not supported.
L ISTING D.5 The DownloadServiceImpl Class
package com.marinilli.b2.ad.util;
import javax.jnlp.DownloadServiceListener;
import java.net.URL;
import javax.jnlp.DownloadService;
/**
* Appendix D - Implementation of the corresponding JNLP runtime service
*
* This class does not support any DownloadService features.
*
* @author Mauro Marinilli
* @version 1.0
*/
public class DownloadServiceImpl implements DownloadService {
/**
* Constructor
*/
public DownloadServiceImpl() {
}
/**
* Not implemented
*/
public DownloadServiceListener getDefaultProgressWindow() {
return null;
}
/**
* always return false
*/
public boolean isExtensionPartCached(URL parm1, String parm2, String parm3) {
return false;
}
/**
* always return true (assumes a standalone application installation)
*/
public boolean isExtensionPartCached(URL parm1, String parm2, String[] parm3)
Search WWH ::




Custom Search