public class AlternateView extends AttachmentBase
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Mail.AlternateView
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
static java.lang.String |
className
Qualified class name: System.Net.Mail.AlternateView
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
AlternateView() |
AlternateView(java.lang.Object instance)
Internal constructor.
|
AlternateView(Stream contentStream) |
AlternateView(Stream contentStream,
ContentType contentType) |
AlternateView(Stream contentStream,
java.lang.String mediaType) |
AlternateView(java.lang.String fileName) |
AlternateView(java.lang.String fileName,
ContentType contentType) |
AlternateView(java.lang.String fileName,
java.lang.String mediaType) |
| Modifier and Type | Method and Description |
|---|---|
static AlternateView |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into AlternateView, a cast assert is made to check if types are compatible. |
static AlternateView |
CreateAlternateViewFromString(java.lang.String content) |
static AlternateView |
CreateAlternateViewFromString(java.lang.String content,
ContentType contentType) |
static AlternateView |
CreateAlternateViewFromString(java.lang.String content,
Encoding contentEncoding,
java.lang.String mediaType) |
Uri |
getBaseUri() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
LinkedResourceCollection |
getLinkedResources() |
void |
setBaseUri(Uri BaseUri) |
void |
setJCOInstance(JCObject instance) |
close, Dispose, getContentId, getContentStream, getContentType, getTransferEncoding, setContentId, setContentType, setTransferEncodingpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public AlternateView()
throws java.lang.Throwable
java.lang.Throwablepublic AlternateView(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic AlternateView(Stream contentStream) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, FormatException, NotSupportedException
public AlternateView(Stream contentStream, ContentType contentType) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, ArgumentException, FormatException, NotSupportedException
public AlternateView(Stream contentStream, java.lang.String mediaType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, NotSupportedException
public AlternateView(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException,
NullReferenceException,
SecurityException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionNullReferenceExceptionSecurityExceptionFormatExceptionpublic AlternateView(java.lang.String fileName,
ContentType contentType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException,
NullReferenceException,
SecurityException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionNullReferenceExceptionSecurityExceptionFormatExceptionpublic AlternateView(java.lang.String fileName,
java.lang.String mediaType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException,
NullReferenceException,
SecurityException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionNullReferenceExceptionSecurityExceptionFormatExceptionpublic static AlternateView cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into AlternateView, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedAlternateView instancejava.lang.Throwable - in case of error during cast operationpublic static AlternateView CreateAlternateViewFromString(java.lang.String content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, OutOfMemoryException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionOutOfMemoryExceptionNotSupportedExceptionpublic static AlternateView CreateAlternateViewFromString(java.lang.String content, ContentType contentType) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, AbandonedMutexException, FormatException, InvalidOperationException, NotSupportedException, MissingManifestResourceException
public static AlternateView CreateAlternateViewFromString(java.lang.String content, Encoding contentEncoding, java.lang.String mediaType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, OutOfMemoryException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionOutOfMemoryExceptionNotSupportedExceptionpublic Uri getBaseUri() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, OutOfMemoryException, SecurityException, MemberAccessException, NullReferenceException, UriFormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionOutOfMemoryExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class AttachmentBaseString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class AttachmentBaseString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class AttachmentBaseObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class AttachmentBaseString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class AttachmentBaseJCType representing the CLR Type of the instantiated Classpublic LinkedResourceCollection getLinkedResources() throws java.lang.Throwable, ObjectDisposedException
java.lang.ThrowableObjectDisposedExceptionpublic void setBaseUri(Uri BaseUri) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, UriFormatException, OutOfMemoryException, FormatException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionUriFormatExceptionOutOfMemoryExceptionFormatExceptionNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class AttachmentBase