|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pages.thumbnail.DelegatorThumbnailManager
DefaultThumbnailManager
instead. We only have one implementation, so this delegation class is not needed.
public class DelegatorThumbnailManager
Field Summary |
---|
Fields inherited from interface com.atlassian.confluence.pages.thumbnail.ThumbnailManager |
---|
THUMBNAIL_PATH_SUFFIX |
Constructor Summary | |
---|---|
DelegatorThumbnailManager()
Deprecated. |
Method Summary | |
---|---|
boolean |
checkToolkit()
Deprecated. checks whether the users system has AWT toolkit required to create thumbnails |
int |
getMaxHeight()
Deprecated. |
int |
getMaxWidth()
Deprecated. |
com.atlassian.core.util.thumbnail.Thumbnail |
getThumbnail(Attachment attachment)
Deprecated. retrieves the thumbnail for this attachment in the form of a Thumbnail Object this method also creates the actual thumbnail file on the filesystem if it does not exist |
java.io.InputStream |
getThumbnailData(Attachment attachment)
Deprecated. retrieves the thumbnail data (as a stream) from where it was stored in the file system |
java.io.File |
getThumbnailFile(Attachment attachment)
Deprecated. returns the path to the thumbnail for this attachment |
java.util.Collection |
getThumbnails(java.util.Collection attachments)
Deprecated. |
boolean |
isThumbnailable(Attachment attachment)
Deprecated. checks the mime type of the attachment to determine whether a thumbnail can be created from it |
boolean |
removeThumbnail(Attachment attachment)
Deprecated. Removes the thumbnail for the specified attachment. |
void |
setThumbnailManager(ThumbnailManager thumbnailManager)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatorThumbnailManager()
Method Detail |
---|
public java.util.Collection getThumbnails(java.util.Collection attachments) throws java.lang.Exception
getThumbnails
in interface ThumbnailManager
java.lang.Exception
public boolean isThumbnailable(Attachment attachment)
ThumbnailManager
isThumbnailable
in interface ThumbnailManager
public boolean checkToolkit()
ThumbnailManager
checkToolkit
in interface ThumbnailManager
public java.io.InputStream getThumbnailData(Attachment attachment) throws java.io.FileNotFoundException
ThumbnailManager
getThumbnailData
in interface ThumbnailManager
java.io.FileNotFoundException
public java.io.File getThumbnailFile(Attachment attachment)
ThumbnailManager
getThumbnailFile
in interface ThumbnailManager
public boolean removeThumbnail(Attachment attachment)
ThumbnailManager
removeThumbnail
in interface ThumbnailManager
public com.atlassian.core.util.thumbnail.Thumbnail getThumbnail(Attachment attachment) throws java.net.MalformedURLException, java.io.FileNotFoundException
ThumbnailManager
getThumbnail
in interface ThumbnailManager
java.net.MalformedURLException
java.io.FileNotFoundException
public int getMaxHeight()
getMaxHeight
in interface ThumbnailManager
public int getMaxWidth()
getMaxWidth
in interface ThumbnailManager
public void setThumbnailManager(ThumbnailManager thumbnailManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |