Interface PlatformFileCollector.Depictor<F extends PlatformFileCollector>

    • Method Detail

      • browse

        void browse()
        Requests that user be displayed a dialog for browsing files.
      • cancel

        void cancel​(PlatformFile platformFile)
        Cancels a platform file upload or download.
        Parameters:
        platformFile - Thet platform file to cancel.
        Throws:
        java.lang.NullPointerException - if the given platform file is null.
        java.lang.IllegalStateException - the specified platform file can no longer be canceled because, for example, other platform files have since been selected.
      • upload

        void upload​(PlatformFile platformFile,
                    java.net.URI destinationURI)
        Initiates a platform file upload.
        Parameters:
        platformFile - Thet platform file to upload.
        destinationURI - The URI representing the destination of the platform file, either absolute or relative to the application.
        Throws:
        java.lang.NullPointerException - if the given platform file and/or destination URI is null.