public class LinkedResource extends AttachmentBase
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Mail.LinkedResource
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.Net.Mail, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Mail
|
static java.lang.String |
className
Qualified class name: System.Net.Mail.LinkedResource
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
LinkedResource() |
LinkedResource(java.lang.Object instance)
Internal constructor.
|
LinkedResource(Stream contentStream) |
LinkedResource(Stream contentStream,
ContentType contentType) |
LinkedResource(Stream contentStream,
java.lang.String mediaType) |
LinkedResource(java.lang.String fileName) |
LinkedResource(java.lang.String fileName,
ContentType contentType) |
LinkedResource(java.lang.String fileName,
java.lang.String mediaType) |
| Modifier and Type | Method and Description |
|---|---|
static LinkedResource |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into LinkedResource, a cast assert is made to check if types are compatible. |
static LinkedResource |
CreateLinkedResourceFromString(java.lang.String content) |
static LinkedResource |
CreateLinkedResourceFromString(java.lang.String content,
ContentType contentType) |
static LinkedResource |
CreateLinkedResourceFromString(java.lang.String content,
Encoding contentEncoding,
java.lang.String mediaType) |
Uri |
getContentLink() |
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
|
void |
setContentLink(Uri ContentLink) |
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 LinkedResource()
throws java.lang.Throwable
java.lang.Throwablepublic LinkedResource(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic LinkedResource(Stream contentStream) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, FormatException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionpublic LinkedResource(Stream contentStream, ContentType contentType) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, FormatException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionpublic LinkedResource(Stream contentStream, java.lang.String mediaType) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, UnreachableException, IndexOutOfRangeException, FormatException, InvalidOperationException
public LinkedResource(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
SerializationException,
PlatformNotSupportedException,
UnreachableException,
IndexOutOfRangeException,
FormatException,
InvalidOperationException,
NotSupportedException
public LinkedResource(java.lang.String fileName,
ContentType contentType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
SerializationException,
FormatException,
NotSupportedException,
PlatformNotSupportedException
public LinkedResource(java.lang.String fileName,
java.lang.String mediaType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
SerializationException,
PlatformNotSupportedException,
UnreachableException,
IndexOutOfRangeException,
FormatException,
InvalidOperationException,
NotSupportedException
public static LinkedResource cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into LinkedResource, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedLinkedResource instancejava.lang.Throwable - in case of error during cast operationpublic static LinkedResource CreateLinkedResourceFromString(java.lang.String content) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, UnreachableException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, NullReferenceException
public static LinkedResource CreateLinkedResourceFromString(java.lang.String content, ContentType contentType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, FormatException
public static LinkedResource CreateLinkedResourceFromString(java.lang.String content, Encoding contentEncoding, java.lang.String mediaType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, UnreachableException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, NullReferenceException
public Uri getContentLink() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, UnreachableException, IndexOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException, OutOfMemoryException, CultureNotFoundException, UriFormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionUnreachableExceptionIndexOutOfRangeExceptionFormatExceptionInvalidOperationExceptionNotSupportedExceptionOutOfMemoryExceptionCultureNotFoundExceptionUriFormatExceptionpublic 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 void setContentLink(Uri ContentLink) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentOutOfRangeException, UriFormatException, FormatException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionUriFormatExceptionFormatExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class AttachmentBase