| com.atlassian.confluence.core.AttachmentResource |
Known Indirect Subclasses
|
Class Overview
Represents a resource that exposes the required state to create a Confluence attachment.
Summary
|
[Expand]
Inherited Methods |
From interface
org.springframework.core.io.InputStreamSource
|
From interface
org.springframework.core.io.Resource
|
abstract
Resource
|
createRelative(String arg0)
|
|
abstract
boolean
|
exists()
|
|
abstract
String
|
getDescription()
|
|
abstract
File
|
getFile()
|
|
abstract
String
|
getFilename()
|
|
abstract
URI
|
getURI()
|
|
abstract
URL
|
getURL()
|
|
abstract
boolean
|
isOpen()
|
|
abstract
boolean
|
isReadable()
|
|
abstract
long
|
lastModified()
|
|
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