Package org.jresearch.gossip.forms

Examples of org.jresearch.gossip.forms.LoadAvatarForm


    /* (non-Javadoc)
     * @see org.jresearch.gossip.actions.user.avatar.SaveAvatarAction#getImage(org.apache.struts.action.ActionForm)
     */
    protected BufferedImage getImage(ActionForm form) throws SystemException {
        LoadAvatarForm laForm=(LoadAvatarForm) form;
        BufferedImage img=null;
        try {
            img = ImageIO.read(new URL(laForm.getUrl()));
        } catch (MalformedURLException e) {
            throw new SystemException(e);
        } catch (IOException e) {
            throw new SystemException(e);
        }
View Full Code Here

TOP

Related Classes of org.jresearch.gossip.forms.LoadAvatarForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.