org.apache.torque.generator.control
Class ControllerHelper

java.lang.Object
  extended by org.apache.torque.generator.control.ControllerHelper

public final class ControllerHelper
extends Object

Helper methods for the controller.

Version:
$Id: ControllerHelper.java 1368426 2012-08-02 11:46:37Z tfischer $

Method Summary
static File getOutputFile(String outputDirKey, String outputPath, UnitConfiguration unitConfiguration)
          Calculates the location of the target file from the file name and the unit configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOutputFile

public static File getOutputFile(String outputDirKey,
                                 String outputPath,
                                 UnitConfiguration unitConfiguration)
Calculates the location of the target file from the file name and the unit configuration.

Parameters:
outputDirKey - the key for the output directory to use.
outputPath - the output path, not null.
unitConfiguration - the unit configuration, not null.
Returns:
the output File, not null.


Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.