com.atlassian.confluence.it
Class Attachment
java.lang.Object
com.atlassian.confluence.it.Attachment
- All Implemented Interfaces:
- LinkableContent, TitledContent
public class Attachment
- extends java.lang.Object
- implements TitledContent, LinkableContent
Constructor Summary |
Attachment(ContentEntity contentEntity,
Attachment other)
Copy constructor -- put the provided attachment on another page. |
Attachment(ContentEntity contentEntity,
java.io.File file,
java.lang.String contentType)
|
Attachment(ContentEntity contentEntity,
java.lang.String filename,
java.lang.String contentType,
java.lang.String classpathResource)
|
Attachment(ContentEntity contentEntity,
java.lang.String filename,
java.lang.String contentType,
java.lang.String comment,
byte[] data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GIF_TYPE
public static final java.lang.String GIF_TYPE
- See Also:
- Constant Field Values
PNG_TYPE
public static final java.lang.String PNG_TYPE
- See Also:
- Constant Field Values
PDF_TYPE
public static final java.lang.String PDF_TYPE
- See Also:
- Constant Field Values
Attachment
public Attachment(ContentEntity contentEntity,
java.lang.String filename,
java.lang.String contentType,
java.lang.String comment,
byte[] data)
Attachment
public Attachment(ContentEntity contentEntity,
java.io.File file,
java.lang.String contentType)
Attachment
public Attachment(ContentEntity contentEntity,
java.lang.String filename,
java.lang.String contentType,
java.lang.String classpathResource)
Attachment
public Attachment(ContentEntity contentEntity,
Attachment other)
- Copy constructor -- put the provided attachment on another page.
getPage
public ContentEntity getPage()
getFilename
public java.lang.String getFilename()
getContentType
public java.lang.String getContentType()
getComment
public java.lang.String getComment()
getId
public long getId()
setId
public void setId(long id)
getData
public byte[] getData()
getDownloadUrl
public java.lang.String getDownloadUrl()
getThumbnailUrl
public java.lang.String getThumbnailUrl()
getImageMarkup
public java.lang.String getImageMarkup()
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface TitledContent
getUrl
public java.lang.String getUrl()
- Specified by:
getUrl
in interface LinkableContent
Copyright © 2003-2010 Atlassian. All Rights Reserved.