org.nanoko.coffee.mill.processors
Class AggregatorProcessor
java.lang.Object
org.nanoko.coffee.mill.processors.DefaultProcessor
org.nanoko.coffee.mill.processors.AggregatorProcessor
- All Implemented Interfaces:
- Processor
- Direct Known Subclasses:
- CSSAggregator, JavaScriptAggregator
public abstract class AggregatorProcessor
- extends DefaultProcessor
Common facet of aggregator.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregatorProcessor
public AggregatorProcessor()
computeFileList
public List<File> computeFileList(List<String> names,
File workDir,
File libDir,
String extension,
boolean failedOnMissingFile)
throws Processor.ProcessorException
- Throws:
Processor.ProcessorException
aggregate
public void aggregate(List<File> files,
File to)
throws FileNotFoundException,
Processor.ProcessorException
- Throws:
FileNotFoundException
Processor.ProcessorException
configure
public void configure(AbstractCoffeeMillMojo mojo,
Map<String,Object> options)
- Specified by:
configure in interface Processor- Overrides:
configure in class DefaultProcessor
accept
public boolean accept(File file)
- Specified by:
accept in interface Processor- Overrides:
accept in class DefaultProcessor
aggregate
public void aggregate()
throws Processor.ProcessorException
- Throws:
Processor.ProcessorException
processAll
public void processAll()
throws Processor.ProcessorException
- Specified by:
processAll in interface Processor- Overrides:
processAll in class DefaultProcessor
- Throws:
Processor.ProcessorException
fileCreated
public void fileCreated(File file)
throws Processor.ProcessorException
- Specified by:
fileCreated in interface Processor- Overrides:
fileCreated in class DefaultProcessor
- Throws:
Processor.ProcessorException
fileUpdated
public void fileUpdated(File file)
throws Processor.ProcessorException
- Specified by:
fileUpdated in interface Processor- Overrides:
fileUpdated in class DefaultProcessor
- Throws:
Processor.ProcessorException
fileDeleted
public void fileDeleted(File file)
throws Processor.ProcessorException
- Specified by:
fileDeleted in interface Processor- Overrides:
fileDeleted in class DefaultProcessor
- Throws:
Processor.ProcessorException
tearDown
public void tearDown()
- Specified by:
tearDown in interface Processor- Overrides:
tearDown in class DefaultProcessor
separator
public abstract void separator(OutputStream out)
throws IOException
- Throws:
IOException
Copyright © 2012-2013 OW2. All Rights Reserved.