Interface IFileListUpload


public interface IFileListUpload
Represents an uploaded file in the <xi:fileList /> component.
Since:
8.5.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name of the uploaded file.
    Gets the MIME type of the uploaded file.
    Opens an input stream to read the contents of the uploaded file.
    long
    Gets the size of the uploaded file, in bytes.
  • Method Details

    • fileName

      String fileName()
      Gets the name of the uploaded file.
      Returns:
      The file name.
    • mimeType

      String mimeType()
      Gets the MIME type of the uploaded file.
      Returns:
      The MIME type.
    • size

      long size()
      Gets the size of the uploaded file, in bytes.
      Returns:
      The file size in bytes.
    • open

      InputStream open() throws IOException
      Opens an input stream to read the contents of the uploaded file.
      Returns:
      An InputStream to read the file's contents.
      Throws:
      IOException - If an I/O error occurs while opening the stream.