Interface IFileListUpload
-
public interface IFileListUploadRepresents an uploaded file in the<xi:fileList />component.- Since:
- 8.5.0
- See Also:
IFileListHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringfileName()Gets the name of the uploaded file.StringmimeType()Gets the MIME type of the uploaded file.InputStreamopen()Opens an input stream to read the contents of the uploaded file.longsize()Gets the size of the uploaded file, in bytes.
-
-
-
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.
-
-