Class UploadFileMeta

java.lang.Object
de.xima.fc.form.common.models.UploadFileMeta
All Implemented Interfaces:
Serializable

public final class UploadFileMeta extends Object implements Serializable
Meta data about an uploaded file.
Since:
7.0.11
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • UploadFileMeta

      public UploadFileMeta(String fieldName, String fileName, long sizeBytes, String contentType)
  • Method Details

    • getFieldName

      public String getFieldName()
      Returns:
      The name of the form field where the file was uploaded.
    • getContentType

      public String getContentType()
      Returns:
      The content type of the file's content.
    • getFileName

      public String getFileName()
      Returns:
      The original name of the uploaded file.
    • getSizeBytes

      public long getSizeBytes()
      Returns:
      The size in bytes of the file's content.