Package org.jresearch.gossip.forms

Examples of org.jresearch.gossip.forms.SaveAvatarForm


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

TOP

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

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.