org.richfaces.fragment.fileUpload

## Interface FileUpload

- All Known Implementing Classes:
    RichFacesFileUpload

      public interface FileUpload

  Author:
    Jiri Stefek

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `addFile(File file)` Adds the given `file` in to the list of to be uploaded files.
    `FileUpload` | `clearAll()` Clears all to be uploaded or already uploaded files from the list.
    `FileUpload` | `upload()` Uploads all to be uploaded files.

- - ### Method Detail

    - #### addFile

          boolean addFile(File file)

      Adds the given `file` in to the list of to be uploaded files.
      Parameters:
        `file` - to be uploaded
      Returns:
        `true` if the file was added successfully, `false` otherwise

    - #### clearAll

          FileUpload clearAll()

      Clears all to be uploaded or already uploaded files from the list.
      Returns:
        back the fileUpload object

    - #### upload

          FileUpload upload()

      Uploads all to be uploaded files.
      Returns:
        back the fileUpload object

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.