ro.isdc.wro.runner
Class Wro4jCommandLineRunner

java.lang.Object
  extended by ro.isdc.wro.runner.Wro4jCommandLineRunner

public class Wro4jCommandLineRunner
extends Object

Default command line runner. Interprets arguments and perform a processing.

Since:
1.3.4
Author:
Alex Objelean

Constructor Summary
Wro4jCommandLineRunner()
           
 
Method Summary
protected  void doMain(String[] args)
           
static void main(String[] args)
           
protected  File newDefaultWroFile()
           
protected  File newWroConfigurationFile()
           
protected  void onRunnerException(Exception e)
          Exception handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wro4jCommandLineRunner

public Wro4jCommandLineRunner()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

newDefaultWroFile

protected File newDefaultWroFile()
Returns:
the location where wro file is located by default. Default implementation uses current user directory.

newWroConfigurationFile

protected File newWroConfigurationFile()
                                throws IOException
Returns:
the location where wro configuration file is located by default. Default implementation uses current user directory.
Throws:
IOException

doMain

protected void doMain(String[] args)
Parameters:
args -

onRunnerException

protected void onRunnerException(Exception e)
Exception handler.



Copyright © 2008-2013. All Rights Reserved.