net.spy.digg.parsers
Class GalleryPhotoImpl

java.lang.Object
  extended by net.spy.digg.parsers.GalleryPhotoImpl
All Implemented Interfaces:
java.io.Serializable, GalleryPhoto

public class GalleryPhotoImpl
extends java.lang.Object
implements GalleryPhoto, java.io.Serializable

See Also:
Serialized Form

Method Summary
 int getId()
          Get the ID of this image.
 java.net.URL getImgHref()
          Get the URL to the page containing this image.
 java.net.URL getImgSrc()
          Get the URL to the image itself.
 int getNumComments()
          Get the number of comments on this image.
 long getSubmitTimestamp()
          Get the date this image was submitted.
 java.lang.String getTitle()
          Get the title of this image.
 User getUser()
          Get the User who created this image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getId

public int getId()
Description copied from interface: GalleryPhoto
Get the ID of this image.

Specified by:
getId in interface GalleryPhoto

getImgHref

public java.net.URL getImgHref()
Description copied from interface: GalleryPhoto
Get the URL to the page containing this image.

Specified by:
getImgHref in interface GalleryPhoto

getImgSrc

public java.net.URL getImgSrc()
Description copied from interface: GalleryPhoto
Get the URL to the image itself.

Specified by:
getImgSrc in interface GalleryPhoto

getNumComments

public int getNumComments()
Description copied from interface: GalleryPhoto
Get the number of comments on this image.

Specified by:
getNumComments in interface GalleryPhoto

getSubmitTimestamp

public long getSubmitTimestamp()
Description copied from interface: GalleryPhoto
Get the date this image was submitted.

Specified by:
getSubmitTimestamp in interface GalleryPhoto

getTitle

public java.lang.String getTitle()
Description copied from interface: GalleryPhoto
Get the title of this image.

Specified by:
getTitle in interface GalleryPhoto

getUser

public User getUser()
Description copied from interface: GalleryPhoto
Get the User who created this image.

Specified by:
getUser in interface GalleryPhoto