@Immutable @ParametersAreNonnullByDefault public class TemporaryWebAttachment extends Object
Constructor and Description |
---|
TemporaryWebAttachment(TemporaryAttachmentId temporaryAttachmentId,
String filename,
String contentType,
String formToken,
long size,
org.joda.time.DateTime created) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getContentType() |
String |
getContentType(boolean stripParams)
ContentType header might include extra parameters (the part starts with a semicolon).
|
org.joda.time.DateTime |
getCreated() |
String |
getFilename() |
String |
getFormToken() |
long |
getSize() |
String |
getStringId() |
TemporaryAttachmentId |
getTemporaryAttachmentId() |
int |
hashCode() |
String |
toString() |
public TemporaryWebAttachment(TemporaryAttachmentId temporaryAttachmentId, String filename, String contentType, String formToken, long size, org.joda.time.DateTime created)
public TemporaryAttachmentId getTemporaryAttachmentId()
public String getStringId()
public String getFilename()
public String getContentType()
public String getContentType(boolean stripParams)
stripParams
- whether to cut the value after type + subtypepublic String getFormToken()
public long getSize()
public org.joda.time.DateTime getCreated()
Copyright © 2002-2021 Atlassian. All Rights Reserved.