EspressReport 6.6

quadbase.reportdesigner.util
Interface IDynamicImageURLGenerator


public interface IDynamicImageURLGenerator

This interface allows the user to provide a custom URL for each image or chart. It is only used when exporting to HTML or DHTML and dynamic export is set to true. The likely scenario is that the export is being streamed to an output stream rather than being written to a file. Classes implementing this interface will define the 'generateImageURL' method which takes an image in the form of a byte array and returns an URL where the image can be accessed. It is responsibility of the implementing class to store this byte array and make it available via an URL connection. Please see the RPTImageGenerator servlet (quickstart guide 1.5.7.11.1) for an example.


Method Summary
 java.lang.String generateImageURL(byte[] image)
          Takes the bytes of an image and make it available at the returned URL string.
 

Method Detail

generateImageURL

java.lang.String generateImageURL(byte[] image)
Takes the bytes of an image and make it available at the returned URL string.


EspressReport 6.6