|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.search.SearchContentAttachment
@StableMinor(version="5.5", sinceVersion="4.2.2") public class SearchContentAttachment
Attachment to a SearchContent
object.
Contains the information about a single attachment.
Constructor Summary | |
---|---|
SearchContentAttachment()
|
Method Summary | |
---|---|
SearchContentAttachment |
clone()
Clones this SearchContentAttachment instance. |
byte[] |
getContent()
Returns the content data for this attachment. |
String |
getContentType()
Returns the MIME content type for this attachment. |
String |
getName()
Returns the name for this attachment. |
String |
getUrl()
Returns the URL for this attachment. |
void |
setContent(byte[] content)
Sets the content data for this attachment. |
void |
setContentType(String contentType)
Sets the MIME content type for this attachment. |
void |
setName(String name)
Sets the name for this attachment. |
void |
setUrl(String url)
Sets the URL for this attachment. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchContentAttachment()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- the name.public String getContentType()
public void setContentType(String contentType)
contentType
- the MIME content type.public byte[] getContent()
public void setContent(byte[] content)
content
- the content data.public String getUrl()
null
if no URL was specified for this attachment.public void setUrl(String url)
url
- the URL.public SearchContentAttachment clone()
SearchContentAttachment
instance.
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |