FileDocCategorySizeDatePackage
FeedImage.javaAPI DocGoogle Facebook API v1.43476Thu Nov 01 18:31:06 GMT 2007com.facebook.api

FeedImage

public class FeedImage extends Pair
A simple Pair of URLs for an image appearing in a newsfeed/minifeed story and the optional destination URL for a click on that image.
see
IFacebookRestClient

Fields Summary
Constructors Summary
public FeedImage(URL image)
Constructor for a feed image with no associated hyperlink.

param
image the URL of the image to display.

        super(image, null);
    
public FeedImage(URL image, URL link)
Constructor for a feed image with an associated hyperlink.

param
image the URL of the image to display.
param
link the url to link to when the image is clicked.

        super(image, link);
    
Methods Summary
public java.net.URLgetImageUrl()

return
the URL of the image to display.

        return getFirst();
    
public java.net.URLgetLinkUrl()

return
the URL of the link that will be opened when the image is clicked.

        return getSecond();