org.codehaus.mojo.antlr3
Class AntlrHelper

java.lang.Object
  extended by org.codehaus.mojo.antlr3.AntlrHelper

public class AntlrHelper
extends Object

Version:
$Id $
Author:
David Holroyd

Constructor Summary
AntlrHelper()
           
 
Method Summary
static boolean buildRequired(String grammarFileName, List outputFiles)
          Checks to see if the list of outputFiles all exist, and have last-modified timestamps which are later than the last-modified timestamp of the grammar file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntlrHelper

public AntlrHelper()
Method Detail

buildRequired

public static boolean buildRequired(String grammarFileName,
                                    List outputFiles)
Checks to see if the list of outputFiles all exist, and have last-modified timestamps which are later than the last-modified timestamp of the grammar file. If these conditions hold, the method returns false, otherwise, it returns true.

Parameters:
grammarFileName -
outputFiles -
Returns:


Copyright © 2007-2012 Codehaus. All Rights Reserved.