Class XFileOpenService

  • All Implemented Interfaces:
    FileOpenService

    class XFileOpenService
    extends java.lang.Object
    implements FileOpenService
    The FileOpenService JNLP service.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected XFileOpenService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FileContents openFileDialog​(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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XFileOpenService

        protected XFileOpenService()
    • 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:
        openFileDialog in interface FileOpenService
        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:
        openMultiFileDialog in interface FileOpenService
        Throws:
        java.io.IOException