org.ws4d.java.attachment
Interface AttachmentFactory
- All Known Implementing Classes: 
 - DefaultAttachmentFactory
 
public interface AttachmentFactory
| 
Method Summary | 
 OutgoingAttachment | 
createFileAttachment(java.lang.String filePath)
 
            | 
 OutgoingAttachment | 
createFileAttachment(java.lang.String filePath,
                     InternetMediaType contentType)
 
            | 
 OutgoingAttachment | 
createFileAttachment(java.lang.String filePath,
                     java.lang.String contentType)
 
            | 
 OutgoingAttachment | 
createFileAttachment(java.lang.String filePath,
                     java.lang.String contentId,
                     InternetMediaType contentType)
 
            | 
 OutgoingAttachment | 
createFileAttachment(java.lang.String filePath,
                     java.lang.String contentId,
                     java.lang.String contentType)
 
            | 
 OutgoingAttachment | 
createMemoryAttachment(byte[] bytes)
 
            | 
 OutgoingAttachment | 
createMemoryAttachment(byte[] bytes,
                       InternetMediaType contentType)
 
            | 
 OutgoingAttachment | 
createMemoryAttachment(byte[] bytes,
                       java.lang.String contentType)
 
            | 
 OutgoingAttachment | 
createMemoryAttachment(byte[] bytes,
                       java.lang.String contentId,
                       InternetMediaType contentType)
 
            | 
 OutgoingAttachment | 
createMemoryAttachment(byte[] bytes,
                       java.lang.String contentId,
                       java.lang.String contentType)
 
            | 
 OutgoingAttachment | 
createStreamAttachment(java.io.InputStream in)
 
            | 
 OutgoingAttachment | 
createStreamAttachment(java.io.InputStream in,
                       InternetMediaType contentType)
 
            | 
 OutgoingAttachment | 
createStreamAttachment(java.io.InputStream in,
                       java.lang.String contentType)
 
            | 
 OutgoingAttachment | 
createStreamAttachment(java.io.InputStream in,
                       java.lang.String contentId,
                       InternetMediaType contentType)
 
            | 
 OutgoingAttachment | 
createStreamAttachment(java.io.InputStream in,
                       java.lang.String contentId,
                       java.lang.String contentType)
 
            | 
 OutgoingOutputStreamAttachment | 
createStreamAttachment(InternetMediaType contentType)
 
            | 
 OutgoingOutputStreamAttachment | 
createStreamAttachment(java.lang.String contentType)
 
            | 
 OutgoingOutputStreamAttachment | 
createStreamAttachment(java.lang.String contentId,
                       InternetMediaType contentType)
 
            | 
 OutgoingOutputStreamAttachment | 
createStreamAttachment(java.lang.String contentId,
                       InternetMediaType contentType,
                       java.lang.String transferEncoding)
 
            | 
 OutgoingOutputStreamAttachment | 
createStreamAttachment(java.lang.String contentId,
                       java.lang.String contentType)
 
            | 
 Iterator | 
getStreamingMediaTypes()
 
            | 
 
createFileAttachment
OutgoingAttachment createFileAttachment(java.lang.String filePath)
- Parameters:
 filePath - 
- Returns:
 
 
createFileAttachment
OutgoingAttachment createFileAttachment(java.lang.String filePath,
                                        InternetMediaType contentType)
- Parameters:
 filePath - contentType - 
- Returns:
 
 
createFileAttachment
OutgoingAttachment createFileAttachment(java.lang.String filePath,
                                        java.lang.String contentType)
- Parameters:
 filePath - contentType - 
- Returns:
 
 
createFileAttachment
OutgoingAttachment createFileAttachment(java.lang.String filePath,
                                        java.lang.String contentId,
                                        InternetMediaType contentType)
- Parameters:
 filePath - contentId - contentType - 
- Returns:
 
 
createFileAttachment
OutgoingAttachment createFileAttachment(java.lang.String filePath,
                                        java.lang.String contentId,
                                        java.lang.String contentType)
- Parameters:
 filePath - contentId - contentType - 
- Returns:
 
 
createMemoryAttachment
OutgoingAttachment createMemoryAttachment(byte[] bytes)
- Parameters:
 bytes - 
- Returns:
 
 
createMemoryAttachment
OutgoingAttachment createMemoryAttachment(byte[] bytes,
                                          InternetMediaType contentType)
- Parameters:
 bytes - contentType - 
- Returns:
 
 
createMemoryAttachment
OutgoingAttachment createMemoryAttachment(byte[] bytes,
                                          java.lang.String contentType)
- Parameters:
 bytes - contentType - 
- Returns:
 
 
createMemoryAttachment
OutgoingAttachment createMemoryAttachment(byte[] bytes,
                                          java.lang.String contentId,
                                          InternetMediaType contentType)
- Parameters:
 bytes - contentId - contentType - 
- Returns:
 
 
createMemoryAttachment
OutgoingAttachment createMemoryAttachment(byte[] bytes,
                                          java.lang.String contentId,
                                          java.lang.String contentType)
- Parameters:
 bytes - contentId - contentType - 
- Returns:
 
 
createStreamAttachment
OutgoingAttachment createStreamAttachment(java.io.InputStream in)
- Parameters:
 in - 
- Returns:
 
 
createStreamAttachment
OutgoingAttachment createStreamAttachment(java.io.InputStream in,
                                          InternetMediaType contentType)
- Parameters:
 in - contentType - 
- Returns:
 
 
createStreamAttachment
OutgoingAttachment createStreamAttachment(java.io.InputStream in,
                                          java.lang.String contentType)
- Parameters:
 in - contentType - 
- Returns:
 
 
createStreamAttachment
OutgoingAttachment createStreamAttachment(java.io.InputStream in,
                                          java.lang.String contentId,
                                          InternetMediaType contentType)
- Parameters:
 in - contentId - contentType - 
- Returns:
 
 
createStreamAttachment
OutgoingAttachment createStreamAttachment(java.io.InputStream in,
                                          java.lang.String contentId,
                                          java.lang.String contentType)
- Parameters:
 in - contentId - contentType - 
- Returns:
 
 
createStreamAttachment
OutgoingOutputStreamAttachment createStreamAttachment(InternetMediaType contentType)
- Parameters:
 contentType - 
- Returns:
 
 
createStreamAttachment
OutgoingOutputStreamAttachment createStreamAttachment(java.lang.String contentType)
- Parameters:
 contentType - 
- Returns:
 
 
createStreamAttachment
OutgoingOutputStreamAttachment createStreamAttachment(java.lang.String contentId,
                                                      InternetMediaType contentType)
- Parameters:
 contentId - contentType - 
- Returns:
 
 
createStreamAttachment
OutgoingOutputStreamAttachment createStreamAttachment(java.lang.String contentId,
                                                      java.lang.String contentType)
- Parameters:
 contentId - contentType - 
- Returns:
 
 
createStreamAttachment
OutgoingOutputStreamAttachment createStreamAttachment(java.lang.String contentId,
                                                      InternetMediaType contentType,
                                                      java.lang.String transferEncoding)
- Parameters:
 contentId - contentType - trasferEncoding - 
- Returns:
 
 
getStreamingMediaTypes
Iterator getStreamingMediaTypes()
- Returns: