|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GoogleDesktopIndexable
This is an abstract schema. You cannot instantiate any event objects of type Google.Desktop.Indexable. Use one of its descendent schemas instead.
Event objects cannot exceed a size that varies depending on machine characteristics. This averages several hundred thousand KB. If you send too large an event object to GD, GD will first truncate the event object's content property's value until the total event object size is equal to the maximum allowed size. If all of the content property's value has been removed and the event object is still too big, GD will reject the event object.
http://desktop.google.com/dev/indexapi.html#eventschemas
Method Summary | |
---|---|
java.lang.String |
get_content()
Contains the content to be indexed. |
byte[] |
get_cookie_raw()
Binary cookie. |
java.lang.String |
get_cookie()
String cookie used to pass additional information identifying the event. |
byte[] |
get_extra_binary_data()
Contains optional non-indexable binary metadata for this event Required: No |
java.lang.String |
get_extra_data()
Contains optional non-indexable string metadata for this event Required: No |
java.lang.Byte |
get_format()
Mime type of the indexable content, allowed values are text/plain and text/html. |
java.lang.Long |
get_native_size()
Size of the indexable content in bytes. |
java.lang.String |
get_other_indexed_data()
Contains optional indexable content and metadata. |
java.lang.String |
get_thumbnail_format()
Mime type of the thumbnail image, allowed values are image/gif, image/jpeg, and image/png. |
byte[] |
get_thumbnail()
Thumbnail image of the content. |
Method Detail |
---|
java.lang.String get_content()
java.lang.Byte get_format()
java.lang.Long get_native_size()
byte[] get_thumbnail()
java.lang.String get_thumbnail_format()
java.lang.String get_cookie()
byte[] get_cookie_raw()
java.lang.String get_other_indexed_data()
java.lang.String get_extra_data()
byte[] get_extra_binary_data()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |