public class DefaultReadOnlyFileSystemAttachmentStore extends Object implements ReadOnlyFileBasedAttachmentStore
| Constructor and Description |
|---|
DefaultReadOnlyFileSystemAttachmentStore(File rootDirectory) |
| Modifier and Type | Method and Description |
|---|---|
File |
getAttachmentFile(AttachmentKey attachment)
Returns a reference to a physical File representing the data for the given Attachment.
|
public DefaultReadOnlyFileSystemAttachmentStore(File rootDirectory)
public File getAttachmentFile(AttachmentKey attachment) throws DataAccessException
ReadOnlyFileBasedAttachmentStoregetAttachmentFile in interface ReadOnlyFileBasedAttachmentStoreattachment - Reference to the attachmentDataAccessException - on failure getting required attachment info.Copyright © 2002-2015 Atlassian. All Rights Reserved.