public class ContentDisposition extends Object
Represents a Content-Disposition header.
Constructor and Description |
---|
ContentDisposition()
Initializes a new instance of the
ContentDisposition class. |
ContentDisposition(String disposition)
Initializes a new instance of the
ContentDisposition class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object rparam)
Determines whether the specified
System.Object is equal to this instance. |
Date |
getCreationDate()
Gets or sets the creation date.
|
String |
getDispositionType()
Gets or sets the type of the disposition.
|
String |
getFileName()
Gets or sets the file name for an attachment.
|
boolean |
getInline()
Gets or sets a value that determines the disposition type.
|
Date |
getModificationDate()
Gets or sets the modification date.
|
com.aspose.ms.System.Collections.Specialized.StringDictionary |
getParameters()
Gets the parameters.
|
Date |
getReadDate()
Gets or sets the read date.
|
long |
getSize()
Gets or sets the size of a file attachment.
|
int |
hashCode()
Returns a hash code for this instance.
|
void |
setCreationDate(Date value)
Gets or sets the creation date.
|
void |
setDispositionType(String value)
Gets or sets the type of the disposition.
|
void |
setFileName(String value)
Gets or sets the file name for an attachment.
|
void |
setInline(boolean value)
Gets or sets a value that determines the disposition type.
|
void |
setModificationDate(Date value)
Gets or sets the modification date.
|
void |
setReadDate(Date value)
Gets or sets the read date.
|
void |
setSize(long value)
Gets or sets the size of a file attachment.
|
String |
toString()
Returns a
System.String that represents this instance. |
public ContentDisposition()
Initializes a new instance of the ContentDisposition
class.
public ContentDisposition(String disposition)
Initializes a new instance of the ContentDisposition
class.
disposition
- A value that contains the disposition.public String getDispositionType()
Gets or sets the type of the disposition.
Value: The String that contains the disposition type.String
object.public void setDispositionType(String value)
Gets or sets the type of the disposition.
Value: The String that contains the disposition type.value
- a String
object.public com.aspose.ms.System.Collections.Specialized.StringDictionary getParameters()
Gets the parameters.
Value: A StringDictionary that contains parameter name/value pairs.StringDictionary
object.public String getFileName()
Gets or sets the file name for an attachment.
Value: The name of the file.String
object.public void setFileName(String value)
Gets or sets the file name for an attachment.
Value: The name of the file.value
- a String
object.public Date getCreationDate()
Gets or sets the creation date.
Value: A DateTime value that indicates the file creation date; otherwise, MinValue if no date was specified.public void setCreationDate(Date value)
Gets or sets the creation date.
Value: A DateTime value that indicates the file creation date; otherwise, MinValue if no date was specified.public Date getModificationDate()
Gets or sets the modification date.
Value: A DateTime value that indicates the file modification date; otherwise, MinValue if no date was specified.public void setModificationDate(Date value)
Gets or sets the modification date.
Value: A DateTime value that indicates the file modification date; otherwise, MinValue if no date was specified.public boolean getInline()
Gets or sets a value that determines the disposition type.
Value: true if content in the attachment is presented inline; otherwise, false.public void setInline(boolean value)
Gets or sets a value that determines the disposition type.
Value: true if content in the attachment is presented inline; otherwise, false.value
- a boolean.public Date getReadDate()
Gets or sets the read date.
Value: A DateTime value that indicates the file read date; otherwise, MinValue if no date was specified.public void setReadDate(Date value)
Gets or sets the read date.
Value: A DateTime value that indicates the file read date; otherwise, MinValue if no date was specified.public long getSize()
Gets or sets the size of a file attachment.
Value: A Int32 that specifies the number of bytes in the file attachment.public void setSize(long value)
Gets or sets the size of a file attachment.
Value: A Int32 that specifies the number of bytes in the file attachment.value
- a long.public String toString()
Returns a System.String
that represents this instance.
public boolean equals(Object rparam)
Determines whether the specified System.Object
is equal to this instance.
Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.