Interface IFileListUpload


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

      • 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.