com.jalios.jcms.tools
Class AbstractFilePacker

java.lang.Object
  extended by com.jalios.jcms.tools.AbstractFilePacker
Direct Known Subclasses:
CssPacker, JsPacker

public abstract class AbstractFilePacker
extends Object


Constructor Summary
protected AbstractFilePacker(String extension)
          Builds a new file packer using specified options.
 
Method Summary
 String getFilePack(String[] relativeFilePaths)
          Packs specified files into one and single string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.