public class CompressorImpl extends Object implements Compressor
| Constructor and Description |
|---|
CompressorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
compress(Collection<File> sources,
File output)
Calls the Google Closure compiler with
--js {sources}
--create_source_map {output.name}.map
--source_map_format=V3
--compilation_level WHITESPACE_ONLY
--js_output_file {output.path}
|
void |
compressFileList(File fileList,
File output) |
public void compress(Collection<File> sources, File output) throws IOException
compress in interface CompressorIOExceptionpublic void compressFileList(File fileList, File output) throws IOException
compressFileList in interface CompressorIOExceptionCopyright © 2002–2021 CoreMedia AG. All rights reserved.