org.ws4d.java.attachment
Class DefaultAttachmentStore
java.lang.Object
org.ws4d.java.attachment.AttachmentStore
org.ws4d.java.attachment.DefaultAttachmentStore
public class DefaultAttachmentStore
- extends AttachmentStore
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAttachmentStore
public DefaultAttachmentStore()
store
public void store(ContextID context,
java.lang.String cid,
java.lang.String contentType,
java.lang.String transferEncoding,
java.io.InputStream from)
- Specified by:
store
in class AttachmentStore
isAvailable
public boolean isAvailable(ContextID context,
java.lang.String cid)
- Specified by:
isAvailable
in class AttachmentStore
resolve
public IncomingAttachment resolve(ContextID context,
java.lang.String cid)
throws AttachmentException
- Specified by:
resolve
in class AttachmentStore
- Throws:
AttachmentException
cleanup
public void cleanup()
- Specified by:
cleanup
in class AttachmentStore