|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.email.ContentType
public class ContentType
Represents a Content-Type header.
Constructor Summary | |
---|---|
ContentType()
Initializes a new instance of the ContentType class. |
|
ContentType(String contentType)
Initializes a new instance of the ContentType class. |
Method Summary | |
---|---|
boolean |
equals(Object rparam)
Determines whether the specified System.Object is equal to this instance. |
String |
getBoundary()
Gets or sets the value of the boundary parameter included in the Content-Type header. |
String |
getCharSet()
Gets or sets the value of the charset parameter. |
String |
getMediaType()
Gets or sets the internet media type. |
String |
getName()
Gets or sets the value of the name parameter. |
HashMap<String,String> |
getParameters()
Gets the dictionary that contains the parameters. |
int |
hashCode()
Returns a hash code for this instance. |
void |
setBoundary(String value)
|
void |
setCharSet(String value)
|
void |
setMediaType(String value)
|
void |
setName(String value)
|
String |
toString()
Returns a System.String that represents this instance. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContentType()
Initializes a new instance of the ContentType
class.
public ContentType(String contentType)
Initializes a new instance of the ContentType
class.
contentType
- Type of the content.Method Detail |
---|
public String getBoundary()
Gets or sets the value of the boundary parameter included in the Content-Type header.
Value: A string that contains the value of boundary parameter.
public void setBoundary(String value)
public String getCharSet()
Gets or sets the value of the charset parameter.
Value: A string that contains the value of charset parameter.
public void setCharSet(String value)
public String getMediaType()
Gets or sets the internet media type.
Value: A String that contains the media type.
public void setMediaType(String value)
public String getName()
Gets or sets the value of the name parameter.
Value: A String that contains the name.
public void setName(String value)
public HashMap<String,String> getParameters()
Gets the dictionary that contains the parameters.
Value: A StringDictionary that contains name and value pairs.
public String toString()
Returns a System.String
that represents this instance.
toString
in class Object
System.String
that represents this instance.public boolean equals(Object rparam)
Determines whether the specified System.Object
is equal to this instance.
equals
in class Object
rparam
- The System.Object
to compare with this instance.
true
if the specified System.Object
is equal to this instance; otherwise, false
.public int hashCode()
Returns a hash code for this instance.
hashCode
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |