|
Spiffy UI Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.spiffyui.build.GzipListUtil
public final class GzipListUtil
This is a utility for GZIPing lists of files
Method Summary | |
---|---|
static void |
zipFileList(java.util.List<java.io.File> files,
java.io.File destinationDir)
GZIP the specified list of files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void zipFileList(java.util.List<java.io.File> files, java.io.File destinationDir) throws java.io.IOException
GZIP the specified list of files.
Many web servers will send GZIP versions of static files to browsers which support it. This method will GZIP lists of files so they can be served to those browsers.
files
- the files to GZIP. Each file is GZIPed separately with the same file name
and a .gz extension.destinationDir
- the destination directory to write the list of zipped files
java.io.IOException
- if there is a problem creating the zip files
|
Spiffy UI Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |