public interface

AttachmentResource

implements Resource
com.atlassian.confluence.core.AttachmentResource
Known Indirect Subclasses

Class Overview

Represents a resource that exposes the required state to create a Confluence attachment.

Summary

Public Methods
abstract String getComment()
abstract long getContentLength()
abstract String getContentType()
[Expand]
Inherited Methods
From interface org.springframework.core.io.InputStreamSource
From interface org.springframework.core.io.Resource

Public Methods

public abstract String getComment ()

Returns
  • the comment associated with the attachment or null if there is no comment

public abstract long getContentLength ()

Returns
  • the content length (size of the attachment)

public abstract String getContentType ()

Returns
  • the content/mime type of the attachment