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
IOException
public File saveAttachment(Attachment attachment) throws IOException
IOException
public File createAttachmentsTmpDir(Project project) throws IOException
IOException
Copyright © 2017 The Codehaus Foundation. All rights reserved.