com.atlassian.confluence.servlet.download
Class AttachmentUrlParser

java.lang.Object
  extended by com.atlassian.confluence.servlet.download.AttachmentUrlParser

public class AttachmentUrlParser
extends java.lang.Object

A URL parser for attachments (including thumbnails). See FileServerServlet for URL prefix constants.


Constructor Summary
AttachmentUrlParser()
           
 
Method Summary
 Attachment getAttachment(java.lang.String urlPath, java.lang.String urlPrefix, java.util.Map parameters)
           
 java.lang.String getAttachmentFileName(java.lang.String urlPath)
           
 ContentEntityObject getEntity(java.lang.String urlPath, java.lang.String prefix)
           
 long getEntityId(java.lang.String urlPath, java.lang.String prefix)
           
 void setAttachmentManager(AttachmentManager attachmentManager)
           
 void setContentEntityObjectDao(ContentEntityObjectDao contentEntityObjectDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentUrlParser

public AttachmentUrlParser()
Method Detail

getAttachment

public Attachment getAttachment(java.lang.String urlPath,
                                java.lang.String urlPrefix,
                                java.util.Map parameters)

getEntity

public ContentEntityObject getEntity(java.lang.String urlPath,
                                     java.lang.String prefix)

getEntityId

public long getEntityId(java.lang.String urlPath,
                        java.lang.String prefix)

getAttachmentFileName

public java.lang.String getAttachmentFileName(java.lang.String urlPath)

setContentEntityObjectDao

public void setContentEntityObjectDao(ContentEntityObjectDao contentEntityObjectDao)

setAttachmentManager

public void setAttachmentManager(AttachmentManager attachmentManager)


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.