RbUtils 0.13

org.ktc.rbutils.rb.generation
Interface GeneratorUtility

All Superinterfaces:
Utility
All Known Implementing Classes:
RbGeneratorUtility

public interface GeneratorUtility
extends Utility

Base interface for Generator utility.

Since:
RbUtils 0.9.3.3
Version:
$Revision: 1.1 $
Author:
moishi

Method Summary
 File getGenDir()
          Parses the arguments of this utility in order to get the generation target directory to be used by this utility.
 
Methods inherited from interface org.ktc.rbutils.rb.Utility
getExtension, getFilesToBeProcessed, getLoggers, getRootDir, parse, parseParameters, usage, usage
 

Method Detail

getGenDir

File getGenDir()
               throws RbUtilsException,
                      FileNotFoundException
Parses the arguments of this utility in order to get the generation target directory to be used by this utility.

The Utility.parseParameters() method MUST have been previously called.

Returns:
the directory where files will be generated.
Throws:
RbUtilsException - if more than one -g option is specified.
FileNotFoundException - if the -g option specified a directory that does not exist in the file system.
NotDirectoryException - if the -g value specified a file in the file system instead of a directory.

Back to the RbUtils Home Page

Copyright © 2005-2009 RbUtils Project. All Rights Reserved.