Interface IXUpload

All Known Implementing Classes:
CompressedUpload, InterpolatedFileNameUpload

public interface IXUpload
Represents a file uploaded when a form was submitted.
Since:
7.0.11
Author:
XIMA MEDIA GmbH
  • Method Details

    • getContentType

      String getContentType()
      Returns:
      Content type of the replacement file.
    • getFileNamePattern

      String getFileNamePattern()
      Returns:
      When not blank, this pattern will be used for the file name. Placeholders within the file name are replaced.
    • getFileName

      String getFileName()
      Returns:
      The name of the replacement file
    • getInputStream

      InputStream getInputStream() throws IOException
      Returns:
      The data of the replacement file. When null, the original file data is used.
      Throws:
      IOException - When the data of the replacement cannot be read.