com.atlassian.jira.util
Class AttachmentUtils
java.lang.Object
com.atlassian.jira.util.AttachmentUtils
- public class AttachmentUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentUtils
public AttachmentUtils()
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.