org.dspace.content
Class Thumbnail

java.lang.Object
  extended by org.dspace.content.Thumbnail

public class Thumbnail
extends Object

Wrapper class for bitstreams with Thumbnails associated with them for convenience in the browse system

Author:
Richard Jones

Constructor Summary
Thumbnail(Bitstream thumb, Bitstream original)
          Construct a new thumbnail using the two bitstreams
 
Method Summary
 Bitstream getOriginal()
           
 Bitstream getThumb()
           
 void setOriginal(Bitstream original)
           
 void setThumb(Bitstream thumb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Thumbnail

public Thumbnail(Bitstream thumb,
                 Bitstream original)
Construct a new thumbnail using the two bitstreams

Parameters:
thumb - the thumbnail bitstream
original - the original bitstream
Method Detail

getOriginal

public Bitstream getOriginal()
Returns:
Returns the original.

setOriginal

public void setOriginal(Bitstream original)
Parameters:
original - The original to set.

getThumb

public Bitstream getThumb()
Returns:
Returns the thumb.

setThumb

public void setThumb(Bitstream thumb)
Parameters:
thumb - The thumb to set.


Copyright © 2010 DuraSpace. All Rights Reserved.