org.apache.myfaces.buildtools.maven2.plugin.javascript.javascriptcompiler
Class JavascriptCompiler

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.javascript.uixtools.FileProcessor
      extended by org.apache.myfaces.buildtools.maven2.plugin.javascript.javascriptcompiler.JavascriptCompiler

public class JavascriptCompiler
extends FileProcessor


Field Summary
 HashMap<String,String> fileTable
           
 
Fields inherited from class org.apache.myfaces.buildtools.maven2.plugin.javascript.uixtools.FileProcessor
isVerbose
 
Constructor Summary
JavascriptCompiler()
           
 
Method Summary
 void process(InputStream in, PrintStream o)
           
protected  void processFile(File in, File out)
          Called to process a single file.
 
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.javascript.uixtools.FileProcessor
getExtensionFilter, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileTable

public HashMap<String,String> fileTable
Constructor Detail

JavascriptCompiler

public JavascriptCompiler()
Method Detail

processFile

protected void processFile(File in,
                           File out)
                    throws Exception
Description copied from class: FileProcessor
Called to process a single file.

Specified by:
processFile in class FileProcessor
Parameters:
in - the input file. This is never a directory.
out - the output file. If this file exists and overwriting is not permitted, then this method is never called.
Throws:
Exception - if this class is set to fail fast then any exception thrown will cause all execution to halt. If this class does not fail fast, then the exception will be reported and execution will continue with the next file.

process

public void process(InputStream in,
                    PrintStream o)
             throws ParseException
Throws:
ParseException


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.