Package net.sourceforge.jnlp.services
Class XExtendedService
java.lang.Object
net.sourceforge.jnlp.services.XExtendedService
- All Implemented Interfaces:
ExtendedService
Implementation of ExtendedService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOpen a file on the client' system and return its contents.Opens multiple files on the user's sytem and returns their contents as aFileContentsarray
-
Constructor Details
-
XExtendedService
public XExtendedService()
-
-
Method Details
-
openFile
Description copied from interface:ExtendedServiceOpen a file on the client' system and return its contents. The user must grant permission to the application for this to work.- Specified by:
openFilein interfaceExtendedService- Parameters:
file- the file to open- Returns:
- the opened file as a
FileContentsobject - Throws:
IOException- on any io problems
-
openFiles
Description copied from interface:ExtendedServiceOpens multiple files on the user's sytem and returns their contents as aFileContentsarray- Specified by:
openFilesin interfaceExtendedService- Parameters:
files- the files to open- Returns:
- an array of FileContents objects
- Throws:
IOException- on any io problems
-