| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ws4d.java.attachment.AttachmentStore
org.ws4d.java.attachment.DefaultAttachmentStore
public class DefaultAttachmentStore
| Field Summary | 
|---|
| Fields inherited from class org.ws4d.java.attachment.AttachmentStore | 
|---|
POLICY_EXT_STORAGE, POLICY_MEM_BUFFER | 
| Constructor Summary | |
|---|---|
DefaultAttachmentStore()
 | 
|
| Method Summary | |
|---|---|
 void | 
cleanup()
 | 
 boolean | 
isAvailable(ContextID context,
            java.lang.String cid)
 | 
 IncomingAttachment | 
resolve(ContextID context,
        java.lang.String cid)
 | 
 void | 
store(ContextID context,
      java.lang.String cid,
      java.lang.String contentType,
      java.lang.String transferEncoding,
      java.io.InputStream from)
 | 
| Methods inherited from class org.ws4d.java.attachment.AttachmentStore | 
|---|
addStreamingMediaType, exists, getInstance, getStorePolicy, getStreamingMediaTypes, isStreamingMediaType, removeStreamingMediaType, resetStreamingMediaTypes, setStorePolicy | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DefaultAttachmentStore()
| Method Detail | 
|---|
public void store(ContextID context,
                  java.lang.String cid,
                  java.lang.String contentType,
                  java.lang.String transferEncoding,
                  java.io.InputStream from)
store in class AttachmentStore
public boolean isAvailable(ContextID context,
                           java.lang.String cid)
isAvailable in class AttachmentStore
public IncomingAttachment resolve(ContextID context,
                                  java.lang.String cid)
                           throws AttachmentException
resolve in class AttachmentStoreAttachmentExceptionpublic void cleanup()
cleanup in class AttachmentStore
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||