com.atlassian.jira.util
Class AttachmentUtils

java.lang.Object
  extended bycom.atlassian.jira.util.AttachmentUtils

public class AttachmentUtils
extends Object


Constructor Summary
AttachmentUtils()
           
 
Method Summary
static void checkValidAttachmentDirectory(org.ofbiz.core.entity.GenericValue issue)
           
static File getAttachmentDirectory(org.ofbiz.core.entity.GenericValue issue)
           
static File getAttachmentFile(Attachment attachment)
           
static File getThumbnailFile(Attachment attachment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentUtils

public AttachmentUtils()
Method Detail

getAttachmentDirectory

public static File getAttachmentDirectory(org.ofbiz.core.entity.GenericValue issue)
                                   throws org.ofbiz.core.entity.GenericEntityException
Parameters:
issue -
Returns:
The issue's attachment directory. This will create it if necessary
Throws:
org.ofbiz.core.entity.GenericEntityException

getAttachmentFile

public static File getAttachmentFile(Attachment attachment)
                              throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getThumbnailFile

public static File getThumbnailFile(Attachment attachment)
                             throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

checkValidAttachmentDirectory

public static void checkValidAttachmentDirectory(org.ofbiz.core.entity.GenericValue issue)
                                          throws AttachmentException
Throws:
AttachmentException


Copyright © 2002-2006 Atlassian. All Rights Reserved.