public class ContentDispositionHeaderValue
extends java.lang.Object
Represent Content-Disposition header value.
| Constructor and Description |
|---|
ContentDispositionHeaderValue()
Initializes a new instance of the
ContentDispositionHeaderValue class. |
ContentDispositionHeaderValue(ContentDispositionHeaderValue source)
Initializes a new instance of the
ContentDispositionHeaderValue class. |
ContentDispositionHeaderValue(java.lang.String dispositionType)
Create a new instance of this disposition type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
Object is equal to this instance. |
java.lang.String |
getDispositionType()
Get or set disposition type
|
java.lang.String |
getFileName()
The name of the stored file.
|
java.lang.String |
getName()
The name for a content body part.
|
com.aspose.ms.System.Collections.Generic.IGenericCollection<NameValueHeaderValue> |
getParameters()
Get collection of paremeters
Value:
The parameters.
|
void |
setDispositionType(java.lang.String value)
Get or set disposition type
|
void |
setFileName(java.lang.String value)
The name of the stored file.
|
void |
setName(java.lang.String value)
The name for a content body part.
|
java.lang.String |
toString()
Returns a
String that represents this instance. |
public ContentDispositionHeaderValue()
Initializes a new instance of the ContentDispositionHeaderValue class.
public ContentDispositionHeaderValue(ContentDispositionHeaderValue source)
Initializes a new instance of the ContentDispositionHeaderValue class.
source - The source.public ContentDispositionHeaderValue(java.lang.String dispositionType)
Create a new instance of this disposition type.
dispositionType - Disposition typepublic java.lang.String getDispositionType()
Get or set disposition type
public void setDispositionType(java.lang.String value)
Get or set disposition type
public com.aspose.ms.System.Collections.Generic.IGenericCollection<NameValueHeaderValue> getParameters()
Get collection of paremeters
Value: The parameters.public java.lang.String getName()
The name for a content body part.
Value: The name.public void setName(java.lang.String value)
The name for a content body part.
Value: The name.public java.lang.String getFileName()
The name of the stored file.
Value: The name of the file.public void setFileName(java.lang.String value)
The name of the stored file.
Value: The name of the file.public java.lang.String toString()
Returns a String that represents this instance.
toString in class java.lang.ObjectString that represents this instance.public boolean equals(java.lang.Object obj)
Determines whether the specified Object is equal to this instance.
equals in class java.lang.Objectobj - The Object to compare with this instance.true if the specified Object is equal to this instance; otherwise, false.