class MockAttachmentStorage : AttachmentStorage| <init> |
MockAttachmentStorage() |
| files |
val files: HashMap<SecureHash, ByteArray> |
| importAttachment |
fun importAttachment(jar: InputStream): SecureHashInserts the given attachment into the store, does |
| openAttachment |
fun openAttachment(id: SecureHash): Attachment?Returns a handle to a locally stored attachment, or null if its not known. The handle can be used to open a stream for the data, which will be a zip/jar file. |