Created
August 31, 2018 12:42
-
-
Save eldermoraes/e2c8c795deba2ea2df6c84ebd6cbd48a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ZipHandler implements FileHandler { | |
| @Override | |
| public void handle(@ObservesAsync @Zip FileEvent file) throws | |
| IOException { | |
| FileSystemUtils.save( file.getFile(),"zip","zip_"+ new Date().getTime() + ".zip" ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment