Class AttachmentDataFile

  • All Implemented Interfaces:
    org.springframework.core.io.InputStreamSource

    public class AttachmentDataFile
    extends Object
    implements org.springframework.core.io.InputStreamSource
    Represents a single attachment data file, plus its metadata.
    Since:
    7.12
    • Method Detail

      • getAttachmentDataFile

        @Deprecated
        public static AttachmentDataFile getAttachmentDataFile​(com.atlassian.dc.filestore.api.compat.FilesystemPath dir,
                                                               int attachmentVersion,
                                                               AttachmentDataStreamType dataStreamType)
        Deprecated.
        since 8.1.0 as it is used only in a deprecated v003 attachment format
      • getFilePath

        public com.atlassian.dc.filestore.api.compat.FilesystemPath getFilePath()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getInputStream

        public InputStream getInputStream()
                                   throws IOException
        Specified by:
        getInputStream in interface org.springframework.core.io.InputStreamSource
        Throws:
        IOException