|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.loom.resources.AbstractWebResourceCompiler
org.loom.resources.ToDiskWebResourceCompiler
public class ToDiskWebResourceCompiler
Compiles and store sthe result to disk
| Field Summary |
|---|
| Fields inherited from class org.loom.resources.AbstractWebResourceCompiler |
|---|
charset, compressor, development, INCLUDE_PATTERN, resourceLoader, type, URL_PATTERN |
| Fields inherited from interface org.loom.resources.WebResourceCompiler |
|---|
CSS, JS |
| Constructor Summary | |
|---|---|
ToDiskWebResourceCompiler()
|
|
| Method Summary | |
|---|---|
protected CompiledWebResource |
createCompiledWebResource(java.lang.String name,
java.lang.String md5,
java.lang.String contents,
byte[] gzippedContents)
Create a CompiledWebResource |
void |
setOverwriteExistingFiles(boolean overwriteExistingFiles)
|
| Methods inherited from class org.loom.resources.AbstractWebResourceCompiler |
|---|
addResource, compile, compileDev, compileProd, createCompiledWebResource, preprocess, replaceCssUrls, setCompressor, setDevelopment, setResourceLoader, setType, transformRelativeCssUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToDiskWebResourceCompiler()
| Method Detail |
|---|
protected CompiledWebResource createCompiledWebResource(java.lang.String name,
java.lang.String md5,
java.lang.String contents,
byte[] gzippedContents)
throws java.io.IOException
AbstractWebResourceCompilerCompiledWebResource
createCompiledWebResource in class AbstractWebResourceCompilername - the name of the web resourcemd5 - the md5 checksumcontents - the contents of the filegzippedContents - the gzipped contents of the file
java.io.IOExceptionpublic void setOverwriteExistingFiles(boolean overwriteExistingFiles)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||