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) |
Date |
getCreationDate() |
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() |
HashMap<String,String> |
getParameters()
Gets the parameters.
|
Date |
getReadDate() |
long |
getSize()
Gets or sets the size of a file attachment.
|
int |
hashCode() |
void |
setCreationDate(Date value) |
void |
setDispositionType(String value) |
void |
setFileName(String value) |
void |
setInline(boolean value) |
void |
setModificationDate(Date value) |
void |
setReadDate(Date value) |
void |
setSize(long value) |
String |
toString() |
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.public void setDispositionType(String value)
public HashMap<String,String> getParameters()
Gets the parameters.
Value: A StringDictionary that contains parameter name/value pairs.public String getFileName()
Gets or sets the file name for an attachment.
Value: The name of the file.public void setFileName(String value)
public Date getCreationDate()
public void setCreationDate(Date value)
public Date getModificationDate()
public void setModificationDate(Date value)
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)
public Date getReadDate()
public void setReadDate(Date value)
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)
Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.