public class AttachmentsUtil extends Object
| Constructor and Description |
|---|
AttachmentsUtil() |
| Modifier and Type | Method and Description |
|---|---|
File |
createAttachmentsTmpDir(Project project) |
File |
getAttachmentsDir() |
File |
saveAttachment(Attachment attachment) |
File |
saveAttachment(File dir,
Attachment attachment) |
void |
setAttachmentsDir(File attachmentsDir) |
public File getAttachmentsDir()
public void setAttachmentsDir(File attachmentsDir)
public File saveAttachment(File dir, Attachment attachment) throws IOException
IOExceptionpublic File saveAttachment(Attachment attachment) throws IOException
IOExceptionpublic File createAttachmentsTmpDir(Project project) throws IOException
IOExceptionCopyright © 2021 The Codehaus Foundation. All rights reserved.