Java Reference
In-Depth Information
L ISTING D.5 Continued
/**
* Not supported
*/
public void removePart(String[] parm1) throws java.io.IOException {
throw new java.io.IOException(“not supported.”);
}
/**
* Not supported
*/
public void removeResource(URL parm1, String parm2) throws
java.io.IOException {
throw new java.io.IOException(“not supported.”);
}
}
FileOpenServiceImpl
This service has been implemented consistently with the JNLP implementation, in that it pops
up a “File Open” dialog box for choosing one or more files. No security issues have been
implemented. See Listing D.6 for details.
L ISTING D.6 The FileOpenServiceImpl Class
package com.marinilli.b2.ad.util;
import javax.jnlp.FileOpenService;
import javax.jnlp.FileContents;
import javax.swing.JFileChooser;
/**
* Appendix D - Implementation of the corresponding JNLP runtime service
*
* @author Mauro Marinilli
* @version 1.0
*/
D
public class FileOpenServiceImpl implements FileOpenService {
/**
* construct
*/
public FileOpenServiceImpl() {
}
Search WWH ::




Custom Search