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 aFileContents
array
-
Constructor Details
-
XExtendedService
public XExtendedService()
-
-
Method Details
-
openFile
Description copied from interface:ExtendedService
Open a file on the client' system and return its contents. The user must grant permission to the application for this to work.- Specified by:
openFile
in interfaceExtendedService
- Parameters:
file
- the file to open- Returns:
- the opened file as a
FileContents
object - Throws:
IOException
- on any io problems
-
openFiles
Description copied from interface:ExtendedService
Opens multiple files on the user's sytem and returns their contents as aFileContents
array- Specified by:
openFiles
in interfaceExtendedService
- Parameters:
files
- the files to open- Returns:
- an array of FileContents objects
- Throws:
IOException
- on any io problems
-