com.jalios.jcms.tools
Class AbstractFilePacker
java.lang.Object
com.jalios.jcms.tools.AbstractFilePacker
- Direct Known Subclasses:
- CssPacker, JsPacker
public abstract class AbstractFilePacker
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFilePacker
protected AbstractFilePacker(String extension)
throws IOException
- Builds a new file packer using specified options.
- Parameters:
extension
- file extension required to pack file
- Throws:
IOException
getFilePack
public String getFilePack(String[] relativeFilePaths)
- Packs specified files into one and single string.
- Parameters:
relativeFilePaths
- an array of path relative to the webapp directory
- Returns:
- a String containing path of all files to pack.
Copyright © 2001-2010 Jalios SA. All Rights Reserved.