Class FileInfoImpl
java.lang.Object
com.atlassian.jira.issue.attachment.FileInfoImpl
- All Implemented Interfaces:
PluggableAttachmentValidator.FileInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContent-Type of the file being attached, as per HTTP request header.Name of the file being attached.longSize of the file being attached, in bytes.
-
Constructor Details
-
FileInfoImpl
-
-
Method Details
-
getFileName
Description copied from interface:PluggableAttachmentValidator.FileInfoName of the file being attached.- Specified by:
getFileNamein interfacePluggableAttachmentValidator.FileInfo
-
getFileSize
public long getFileSize()Description copied from interface:PluggableAttachmentValidator.FileInfoSize of the file being attached, in bytes.- Specified by:
getFileSizein interfacePluggableAttachmentValidator.FileInfo
-
getContentType
Description copied from interface:PluggableAttachmentValidator.FileInfoContent-Type of the file being attached, as per HTTP request header. Note that this is not validated against the actual content of the attached file.- Specified by:
getContentTypein interfacePluggableAttachmentValidator.FileInfo
-