com.aspose.email
Class AlternateView

java.lang.Object
  extended by com.aspose.email.AttachmentBase
      extended by com.aspose.email.AlternateView
All Implemented Interfaces:
com.aspose.ms.System.IDisposable
Direct Known Subclasses:
Calendar

public class AlternateView
extends AttachmentBase


Constructor Summary
AlternateView(InputStream contentStream)
           
AlternateView(InputStream contentStream, ContentType contentType)
           
AlternateView(InputStream contentStream, String mediaType)
           
AlternateView(String fileName)
           
AlternateView(String fileName, ContentType contentType)
           
AlternateView(String fileName, String mediaType)
           
 
Method Summary
static AlternateView createAlternateViewFromString(String content)
           
static AlternateView createAlternateViewFromString(String content, Charset contentEncoding, String mediaType)
           
static AlternateView createAlternateViewFromString(String content, ContentType contentType)
           
static AlternateView createAlternateViewFromString(String content, ContentType contentType, int transferencoding)
           
 com.aspose.ms.System.Uri getBaseUri()
           
 LinkedResourceCollection getLinkedResources()
           
 void setBaseUri(com.aspose.ms.System.Uri value)
           
 
Methods inherited from class com.aspose.email.AttachmentBase
dispose, getContentId, getContentStream, getContentType, getTransferEncoding, save, save, saveRawContent, setContentId, setContentStream, setContentType, setTransferEncoding
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlternateView

public AlternateView(String fileName)

AlternateView

public AlternateView(String fileName,
                     String mediaType)

AlternateView

public AlternateView(String fileName,
                     ContentType contentType)

AlternateView

public AlternateView(InputStream contentStream)

AlternateView

public AlternateView(InputStream contentStream,
                     String mediaType)

AlternateView

public AlternateView(InputStream contentStream,
                     ContentType contentType)
Method Detail

getLinkedResources

public LinkedResourceCollection getLinkedResources()

getBaseUri

public com.aspose.ms.System.Uri getBaseUri()

setBaseUri

public void setBaseUri(com.aspose.ms.System.Uri value)

createAlternateViewFromString

public static AlternateView createAlternateViewFromString(String content)

createAlternateViewFromString

public static AlternateView createAlternateViewFromString(String content,
                                                          Charset contentEncoding,
                                                          String mediaType)

createAlternateViewFromString

public static AlternateView createAlternateViewFromString(String content,
                                                          ContentType contentType)

createAlternateViewFromString

public static AlternateView createAlternateViewFromString(String content,
                                                          ContentType contentType,
                                                          int transferencoding)


Copyright (c) 2002-2012 Aspose Pty Ltd. All Rights Reserved.