com.wiley.posa3.lazyacquisition
Class ImageProxy

java.lang.Object
  extended bycom.wiley.posa3.lazyacquisition.ImageProxy
All Implemented Interfaces:
Image

public class ImageProxy
extends java.lang.Object
implements Image

ImageProxy encapsulates the byte data representing an image such as JPEG or GIF.

Version:
1.0
Author:
Michael Kircher, Prashant Jain

Constructor Summary
ImageProxy(DBWrapper dbWrapper, int imageId)
          Constructor.
 
Method Summary
 byte[] getData()
          Get the image byte data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageProxy

public ImageProxy(DBWrapper dbWrapper,
                  int imageId)
Constructor.

Parameters:
dbWrapper - the DBWrapper instance
imageId - the ID of the image for which this is the proxy
Method Detail

getData

public byte[] getData()
Get the image byte data.

Specified by:
getData in interface Image
Returns:
byte[] image byte data


Copyright 2004 John Wiley and Sons. All Rights Reserved.