RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.util
Class ImageCopier

java.lang.Object
  extended by org.richfaces.photoalbum.util.ImageCopier

@ApplicationScoped
public class ImageCopier
extends Object

Utility class, that perform copying images from ear file to temp folder at startup application

Author:
Andrey Markavtsov

Constructor Summary
ImageCopier()
           
 
Method Summary
 void create()
          Method, that perform copying images from ear file to temp folder at startup application
 void destroy()
          Method, that perform deleting images from temp folder during destroy application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageCopier

public ImageCopier()
Method Detail

create

@PostConstruct
public void create()
            throws IOException
Method, that perform copying images from ear file to temp folder at startup application

Throws:
IOException

destroy

@PreDestroy
public void destroy()
             throws IOException
Method, that perform deleting images from temp folder during destroy application

Throws:
IOException

RichFaces Photoalbum 4.3.5.Final

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