RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.ui
Class DirectLinkHelper

java.lang.Object
  extended by org.richfaces.photoalbum.ui.DirectLinkHelper

@Named
@RequestScoped
public class DirectLinkHelper
extends Object

Convenience UI class for 'directLink' functionality.

Author:
Andrey Markhel

Constructor Summary
DirectLinkHelper()
           
 
Method Summary
 void paintImage(OutputStream out, Object data)
          Convenience method to paint full-sized image in new tab or window
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectLinkHelper

public DirectLinkHelper()
Method Detail

paintImage

public void paintImage(OutputStream out,
                       Object data)
                throws IOException
Convenience method to paint full-sized image in new tab or window

Parameters:
out - - OutputStream to write image
data - - relative path of the image
Throws:
IOException

RichFaces Photoalbum 4.3.5.Final

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.