com.day.cq.widget.impl
Class JsFileBuilder

java.lang.Object
  extended by com.day.cq.widget.impl.AbstractBuilder
      extended by com.day.cq.widget.impl.JsFileBuilder
All Implemented Interfaces:
HtmlLibraryBuilder

public class JsFileBuilder
extends AbstractBuilder

The JsFileBuilder provides all specific js builder functionality.


Constructor Summary
JsFileBuilder()
           
 
Method Summary
protected  File concatenate(org.apache.tools.ant.types.resources.Resources coll)
           
 String getMimeType()
          Returns the mime type of the library
 String getType()
          Returns the library type
protected  void minify(InputStream inputStream, OutputStream outputStream)
           
 
Methods inherited from class com.day.cq.widget.impl.AbstractBuilder
build, getResource, isDoMinify, setDoMinify, setResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsFileBuilder

public JsFileBuilder()
Method Detail

concatenate

protected File concatenate(org.apache.tools.ant.types.resources.Resources coll)
                    throws IOException
Specified by:
concatenate in class AbstractBuilder
Throws:
IOException

minify

protected void minify(InputStream inputStream,
                      OutputStream outputStream)
               throws IOException
Specified by:
minify in class AbstractBuilder
Throws:
IOException

getType

public String getType()
Description copied from interface: HtmlLibraryBuilder
Returns the library type

Returns:
library type

getMimeType

public String getMimeType()
Description copied from interface: HtmlLibraryBuilder
Returns the mime type of the library

Returns:


Copyright © 2008 Day Management AG. All Rights Reserved.