Package net.sourceforge.jnlp.services
Class XFileOpenService
- java.lang.Object
-
- net.sourceforge.jnlp.services.XFileOpenService
-
- All Implemented Interfaces:
FileOpenService
class XFileOpenService extends java.lang.Object implements FileOpenService
The FileOpenService JNLP service.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXFileOpenService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileContentsopenFileDialog(java.lang.String pathHint, java.lang.String[] extensions)Prompts the user to select a single file.FileContents[]openMultiFileDialog(java.lang.String pathHint, java.lang.String[] extensions)Prompts the user to select one or more files.
-
-
-
Method Detail
-
openFileDialog
public FileContents openFileDialog(java.lang.String pathHint, java.lang.String[] extensions) throws java.io.IOException
Prompts the user to select a single file.- Specified by:
openFileDialogin interfaceFileOpenService- Throws:
java.io.IOException
-
openMultiFileDialog
public FileContents[] openMultiFileDialog(java.lang.String pathHint, java.lang.String[] extensions) throws java.io.IOException
Prompts the user to select one or more files.- Specified by:
openMultiFileDialogin interfaceFileOpenService- Throws:
java.io.IOException
-
-