| Package | Description |
|---|---|
| org.gcube.portlets.user.shareupdates.client | |
| org.gcube.portlets.user.shareupdates.client.view | |
| org.gcube.portlets.user.shareupdates.server |
| Modifier and Type | Method and Description |
|---|---|
LinkPreview |
ShareUpdateService.checkLink(String linkToCheck) |
LinkPreview |
ShareUpdateService.checkUploadedFile(String fileName,
String fileabsolutePathOnServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
ShareUpdateServiceAsync.checkLink(String linkToCheck,
com.google.gwt.user.client.rpc.AsyncCallback<LinkPreview> callback) |
void |
ShareUpdateServiceAsync.checkUploadedFile(String fileName,
String fileabsolutePathOnServer,
com.google.gwt.user.client.rpc.AsyncCallback<LinkPreview> callback) |
| Constructor and Description |
|---|
LinkPreviewer(ShareUpdateForm parent,
LinkPreview toShow,
boolean isFilePreview) |
| Modifier and Type | Method and Description |
|---|---|
LinkPreview |
ShareUpdateServiceImpl.checkLink(String linkToCheck)
tries the following in the indicated order for Populating the Link preview
Open Graph protocol
Meta "title" and "description" tags
Best guess from page content (not recommended)
Schema.org microdata <-- This is still a TODO
|
LinkPreview |
ShareUpdateServiceImpl.checkUploadedFile(String fileName,
String fileabsolutePathOnServer)
generate a preview of the file, upload the file on the storage and shorts the link
|
protected static LinkPreview |
FilePreviewer.getImagePreview(String fileName,
String path2Image,
String httpUrl,
String mimeType) |
protected static LinkPreview |
FilePreviewer.getPdfPreview(String fileName,
String path2Pdf,
String httpUrl,
String mimeType) |
protected static LinkPreview |
FilePreviewer.getUnhandledTypePreview(String fileName,
String path2Pdf,
String httpUrl,
String mimeType) |
Copyright © 2014. All Rights Reserved.